Skip to content

Commit

Permalink
Remove unused function declaration & typo
Browse files Browse the repository at this point in the history
  • Loading branch information
BadWolf42 committed Aug 23, 2022
1 parent 2ccde83 commit c63b550
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main/ZgatewayBT.ino
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ void pubBT(JsonObject& data) {

bool ProcessLock = false; // Process lock when we want to use a critical function like OTA for example

BLEdevice* getDeviceByMac(const char* mac);
void createOrUpdateDevice(const char* mac, uint8_t flags, int model, int mac_type = 0);

BLEdevice* getDeviceByMac(const char* mac) {
Expand Down Expand Up @@ -646,8 +645,7 @@ void coreTask(void* pvParameters) {
}
}

void lowPowerESP32() // low power mode
{
void lowPowerESP32() { // low power mode
Log.trace(F("Going to deep sleep for: %l s" CR), (BTConfig.BLEinterval / 1000));
deepSleep(BTConfig.BLEinterval * 1000);
}
Expand Down

0 comments on commit c63b550

Please sign in to comment.