Files
bobbycar-boardcomputer-firm…/main/actions/bluetoothflushaction.h

18 lines
259 B
C++

#pragma once
#include "actioninterface.h"
#include "globals.h"
namespace {
#ifdef FEATURE_BLUETOOTH
class BluetoothFlushAction : public virtual ActionInterface
{
public:
void triggered() override
{
bluetoothSerial.flush();
}
};
#endif
}