13 INLINE
void LEDHook(LEDHookEnum Func, LEDActionEnum Action) {
14 extern LEDActionEnum LEDGreenAction;
15 extern LEDActionEnum LEDRedAction;
17 if (GlobalSettings.ActiveSettingPtr->LEDGreenFunction == Func) {
18 LEDGreenAction = Action;
21 if (GlobalSettings.ActiveSettingPtr->LEDRedFunction == Func) {
22 LEDRedAction = Action;