[BT] Consistent checking for BLEDecryptor as a Boolean (#2230)
Consistent checking for BLEDecryptor as a Boolean, not just as a Define, so that … … also behaves correctly when set to false.
This commit is contained in:
1 parent
5add388fbc
commit
14ceba5bee
4 files changed
+15
-15
No files matched your search
+2
-2
@@ -955,7 +955,7 @@ void handleLO() {
|
||||
server.send(200, "text/html", response);
|
||||
}
|
||||
|
||||
# ifdef BLEDecryptor
|
||||
# if BLEDecryptor
|
||||
/**
|
||||
* @brief /BL - Config BLE
|
||||
* T: handleBL: uri: /bl, args: 3, method: 1
|
||||
@@ -1777,7 +1777,7 @@ void WebUISetup() {
|
||||
# endif
|
||||
server.on("/lo", handleLO); // Configure Logging
|
||||
|
||||
# ifdef BLEDecryptor
|
||||
# if BLEDecryptor
|
||||
server.on("/bl", HTTP_POST, handleBL); // Configure BLE
|
||||
# endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user