Remove UHK_PCB_MAJOR_VERSION macro from the right firmware and default to v7.

This commit is contained in:
László Monda
2017-05-23 02:29:19 +02:00
parent 2b08775e4e
commit b039afc37a
4 changed files with 0 additions and 32 deletions

View File

@@ -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)