small code sanitizations

This commit is contained in:
Klaus K Wilting 2020-10-09 22:47:04 +02:00
parent 0d7683fdcc
commit 0f1ab7e89e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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();
};