Remove UHK_PCB_MAJOR_VERSION macro from the right firmware and default to v7.
This commit is contained in:
@@ -197,11 +197,9 @@ void applyConfig()
|
||||
|
||||
void setLedPwm()
|
||||
{
|
||||
#if UHK_PCB_MAJOR_VERSION >= 7
|
||||
uint8_t brightnessPercent = GenericHidInBuffer[1];
|
||||
LedPwm_SetBrightness(brightnessPercent);
|
||||
UhkModuleStates[0].ledPwmBrightness = brightnessPercent;
|
||||
#endif
|
||||
}
|
||||
|
||||
void getAdcValue(void)
|
||||
|
||||
Reference in New Issue
Block a user