20 lines
284 B
C++
20 lines
284 B
C++
#pragma once
|
|
|
|
#include "actioninterface.h"
|
|
#include "globals.h"
|
|
|
|
using namespace espgui;
|
|
|
|
namespace {
|
|
#ifdef FEATURE_BLUETOOTH
|
|
class BluetoothFlushAction : public virtual ActionInterface
|
|
{
|
|
public:
|
|
void triggered() override
|
|
{
|
|
bluetoothSerial.flush();
|
|
}
|
|
};
|
|
#endif
|
|
}
|