From 0f1ab7e89e35d680d883856f4aaf11f22dee6b1a Mon Sep 17 00:00:00 2001 From: Klaus K Wilting Date: Fri, 9 Oct 2020 22:47:04 +0200 Subject: [PATCH] small code sanitizations --- src/irqhandler.cpp | 2 +- src/rcommand.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irqhandler.cpp b/src/irqhandler.cpp index 528a8187..a169f4b1 100644 --- a/src/irqhandler.cpp +++ b/src/irqhandler.cpp @@ -84,7 +84,7 @@ void irqHandler(void *pvParameters) { } // do we have a power event? -#if (HAS_PMU) +#ifdef HAS_PMU if (InterruptStatus & PMU_IRQ) { AXP192_powerevent_IRQ(); InterruptStatus &= ~PMU_IRQ; diff --git a/src/rcommand.cpp b/src/rcommand.cpp index eb15dd0d..75899eca 100644 --- a/src/rcommand.cpp +++ b/src/rcommand.cpp @@ -329,7 +329,7 @@ void get_time(uint8_t val[]) { }; void set_time(uint8_t val[]) { - ESP_LOGI(TAG, "Timesync requested by timeserver"); + ESP_LOGI(TAG, "Remote command: timesync requested"); setTimeSyncIRQ(); };