Skip to content

Commit

Permalink
fixup! cpu/esp32: port periph/pm to ESP-IDF sleep API
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Jul 15, 2022
1 parent e241826 commit c1c0c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/esp32/periph/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void pm_set(unsigned mode)
esp_sleep_enable_uart_wakeup(0);
#endif
#if (ESP_PM_WUP_UART1 > 2)
esp_idf_uart_set_wakeup_threshold(UART_DEV(1), ESP_PM_WUP_UART0);
esp_idf_uart_set_wakeup_threshold(UART_DEV(1), ESP_PM_WUP_UART1);
esp_sleep_enable_uart_wakeup(1);
#endif

Expand Down

0 comments on commit c1c0c38

Please sign in to comment.