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