Compilation fix

This commit is contained in:
Bertrand Songis
2019-04-18 21:57:33 +02:00
parent 6e1c568b2e
commit 84628beb3f
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -441,6 +441,7 @@ void startRegisterDialog(uint8_t module)
POPUP_INPUT("", runPopupRegister); POPUP_INPUT("", runPopupRegister);
} }
#if defined(BLUETOOTH)
void onBluetoothConnectMenu(const char * result) void onBluetoothConnectMenu(const char * result)
{ {
if (result != STR_EXIT) { if (result != STR_EXIT) {
@@ -453,6 +454,7 @@ void onBluetoothConnectMenu(const char * result)
bluetoothState = BLUETOOTH_STATE_DISCOVER_END; bluetoothState = BLUETOOTH_STATE_DISCOVER_END;
} }
} }
#endif
void menuModelSetup(event_t event) void menuModelSetup(event_t event)
{ {
+2
View File
@@ -1150,10 +1150,12 @@ union ReusableBuffer
}; };
uint8_t resetReceiverFlags; uint8_t resetReceiverFlags;
} pxx2; } pxx2;
#if defined(BLUETOOTH)
struct { struct {
char devices[MAX_BLUETOOTH_DISTANT_ADDR][LEN_BLUETOOTH_ADDR+1]; char devices[MAX_BLUETOOTH_DISTANT_ADDR][LEN_BLUETOOTH_ADDR+1];
uint8_t devicesCount; uint8_t devicesCount;
} bt; } bt;
#endif
} moduleSetup; } moduleSetup;
// 103 bytes // 103 bytes