kopia lustrzana https://github.com/espressif/esp-idf
bugfix(brownout): fix issue that no wait cycle on c3 and c2
rodzic
8054d82ea1
commit
46b19b8526
|
@ -83,7 +83,7 @@ static inline void brownout_ll_bod_enable(bool bod_enable)
|
|||
*/
|
||||
static inline void brownout_ll_set_intr_wait_cycles(uint8_t cycle)
|
||||
{
|
||||
// Not supported on ESP32C2
|
||||
RTCCNTL.brown_out.int_wait = cycle;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -83,7 +83,7 @@ static inline void brownout_ll_bod_enable(bool bod_enable)
|
|||
*/
|
||||
static inline void brownout_ll_set_intr_wait_cycles(uint8_t cycle)
|
||||
{
|
||||
// Not supported on ESP32C3
|
||||
RTCCNTL.brown_out.int_wait = cycle;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue