Files
bobbycar-boardcomputer-firm…/main/actions/bluetoothbeginaction.cpp
T
2021-11-02 01:43:58 +01:00

16 lines
300 B
C++

#include "bluetoothbeginaction.h"
// local includes
#include "globals.h"
#ifdef FEATURE_BLUETOOTH
void BluetoothBeginAction::triggered()
{
if (!bluetoothSerial.begin(deviceName))
{
//Serial.println("Could not begin bluetooth");
// TODO: better error handling
}
}
#endif