small code sanitizations
This commit is contained in:
parent
0d7683fdcc
commit
0f1ab7e89e
@ -84,7 +84,7 @@ void irqHandler(void *pvParameters) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// do we have a power event?
|
// do we have a power event?
|
||||||
#if (HAS_PMU)
|
#ifdef HAS_PMU
|
||||||
if (InterruptStatus & PMU_IRQ) {
|
if (InterruptStatus & PMU_IRQ) {
|
||||||
AXP192_powerevent_IRQ();
|
AXP192_powerevent_IRQ();
|
||||||
InterruptStatus &= ~PMU_IRQ;
|
InterruptStatus &= ~PMU_IRQ;
|
||||||
|
@ -329,7 +329,7 @@ void get_time(uint8_t val[]) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
void set_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();
|
setTimeSyncIRQ();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user