diff --git a/src/kaleidoscope/device/dygma/raise/Hand.cpp b/src/kaleidoscope/device/dygma/raise/Hand.cpp index 33d9b387..b10a9143 100644 --- a/src/kaleidoscope/device/dygma/raise/Hand.cpp +++ b/src/kaleidoscope/device/dygma/raise/Hand.cpp @@ -228,25 +228,6 @@ void Hand::sendLEDBank(uint8_t bank) { uint8_t result = twi_.writeTo(data, ELEMENTS(data)); } -void Hand::setAllLEDsTo(cRGB color) { - uint8_t data[] = {TWI_CMD_LED_SET_ALL_TO, - pgm_read_byte(&gamma8[color.r]), - pgm_read_byte(&gamma8[color.g]), - pgm_read_byte(&gamma8[color.b]) - }; - twi_.writeTo(data, ELEMENTS(data)); -} - -void Hand::setOneLEDTo(byte led, cRGB color) { - uint8_t data[] = {TWI_CMD_LED_SET_ONE_TO, - led, - pgm_read_byte(&gamma8[color.r]), - pgm_read_byte(&gamma8[color.g]), - pgm_read_byte(&gamma8[color.b]) - }; - twi_.writeTo(data, ELEMENTS(data)); -} - } } } diff --git a/src/kaleidoscope/device/dygma/raise/Hand.h b/src/kaleidoscope/device/dygma/raise/Hand.h index 261fb6ed..543d89ab 100644 --- a/src/kaleidoscope/device/dygma/raise/Hand.h +++ b/src/kaleidoscope/device/dygma/raise/Hand.h @@ -74,8 +74,6 @@ class Hand { bool moreKeysWaiting(); void sendLEDData(); void sendLEDBank(uint8_t bank); - void setOneLEDTo(byte led, cRGB color); - void setAllLEDsTo(cRGB color); keydata_t getKeyData(); bool readKeys(); uint8_t controllerAddress();