Use >= relations instead of == for comparing UHK_PCB_MAJOR_VERSION.

This commit is contained in:
László Monda
2017-01-21 02:20:47 +01:00
parent bcab294256
commit d8761a95ba
5 changed files with 5 additions and 5 deletions

View File

@@ -207,7 +207,7 @@ void applyConfig()
void setLedPwm()
{
#if UHK_PCB_MAJOR_VERSION == 7
#if UHK_PCB_MAJOR_VERSION >= 7
uint8_t isRightKeyboardHalf = GenericHidInBuffer[1];
uint8_t brightnessPercent = GenericHidInBuffer[2];
if (isRightKeyboardHalf) {