diff --git a/radio/src/targets/taranis/bluetooth_driver.cpp b/radio/src/targets/taranis/bluetooth_driver.cpp index d2d43c15c..65789778c 100755 --- a/radio/src/targets/taranis/bluetooth_driver.cpp +++ b/radio/src/targets/taranis/bluetooth_driver.cpp @@ -133,7 +133,7 @@ void bluetoothWriteString(const char * str) void bluetoothWriteWakeup(void) { if (bluetoothWriteState == BLUETOOTH_WRITE_IDLE) { - if (!btTxFifo.empty()) { + if (!btTxFifo.isEmpty()) { bluetoothWriteState = BLUETOOTH_WRITE_INIT; GPIO_ResetBits(BT_GPIO_BRTS, BT_GPIO_PIN_BRTS); }