Fixed wrong direction for other users
This commit is contained in:
@ -117,6 +117,7 @@ set(BOBBYCAR_BUILDFLAGS
|
||||
-DLEDS_PER_METER=144
|
||||
-DOLD_NVS
|
||||
-DFEATURE_DNS_NS
|
||||
-DSWITCH_BLINK
|
||||
)
|
||||
|
||||
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/ignore/lockscreen_plugin.cmake")
|
||||
|
@ -121,7 +121,11 @@ void InputDispatcher::profileButton(uint8_t index, bool pressed)
|
||||
switchProfile(index);
|
||||
}
|
||||
|
||||
#ifdef SWITCH_BLINK
|
||||
void InputDispatcher::blinkRightButton(bool pressed)
|
||||
#else
|
||||
void InputDispatcher::blinkLeftButton(bool pressed)
|
||||
#endif
|
||||
{
|
||||
if(!pressed)return;
|
||||
|
||||
@ -138,7 +142,11 @@ void InputDispatcher::blinkRightButton(bool pressed)
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifndef SWITCH_BLINK
|
||||
void InputDispatcher::blinkRightButton(bool pressed)
|
||||
#else
|
||||
void InputDispatcher::blinkLeftButton(bool pressed)
|
||||
#endif
|
||||
{
|
||||
if(!pressed)return;
|
||||
#ifdef FEATURE_LEDSTRIP
|
||||
|
Reference in New Issue
Block a user