Fixed blink (debugging via keyboard)
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "bobbybuttons.h"
|
#include "bobbybuttons.h"
|
||||||
|
#include "bobbyquickactions.h"
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
constexpr const char * const TAG = "DEBUG";
|
constexpr const char * const TAG = "DEBUG";
|
||||||
@@ -159,16 +160,14 @@ void handleNormalChar(char c)
|
|||||||
case 'Z':
|
case 'Z':
|
||||||
if (espgui::currentDisplay)
|
if (espgui::currentDisplay)
|
||||||
{
|
{
|
||||||
espgui::currentDisplay->buttonPressed(espgui::Button(BobbyButton::Left2));
|
quickactions::blink_left();
|
||||||
espgui::currentDisplay->buttonReleased(espgui::Button(BobbyButton::Left2));
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'u':
|
case 'u':
|
||||||
case 'U':
|
case 'U':
|
||||||
if (espgui::currentDisplay)
|
if (espgui::currentDisplay)
|
||||||
{
|
{
|
||||||
espgui::currentDisplay->buttonPressed(espgui::Button(BobbyButton::Right2));
|
quickactions::blink_right();
|
||||||
espgui::currentDisplay->buttonReleased(espgui::Button(BobbyButton::Right2));
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user