Files
bobbycar-boardcomputer-firm…/main/actions/bluetoothbeginaction.cpp
2021-12-29 00:40:05 +01:00

17 lines
350 B
C++

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