Removed method Virtual::getLedIndex(...)

This method is now implemented in the LED driver
base class based on the LED driver properties.Removed method

Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
pull/735/head
Florian Fleissner 5 years ago committed by Jesse Vincent
parent c44eccfbdb
commit c590bea35b
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -371,10 +371,6 @@ cRGB VirtualLEDDriver::getCrgbAt(uint8_t i) const {
return led_states_[i]; return led_states_[i];
} }
uint8_t VirtualLEDDriver::getLedIndex(uint8_t key_offset) const {
return kaleidoscope::DeviceProps::LEDDriverProps::getLedIndex(key_offset);
}
} // namespace virt } // namespace virt
} // namespace device } // namespace device

@ -107,7 +107,6 @@ class VirtualLEDDriver
void syncLeds(); void syncLeds();
void setCrgbAt(uint8_t i, cRGB color); void setCrgbAt(uint8_t i, cRGB color);
cRGB getCrgbAt(uint8_t i) const; cRGB getCrgbAt(uint8_t i) const;
uint8_t getLedIndex(uint8_t key_offset) const;
private: private:

Loading…
Cancel
Save