Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_deepsleep_wakestub_example_ci_failure_v4.4' …
Browse files Browse the repository at this point in the history
…into 'release/v4.4'

ci: fix deepsleep wakestub example ci failure (backort v4.4)

See merge request espressif/esp-idf!24463
  • Loading branch information
jack0c committed Jul 10, 2023
2 parents 8756d95 + 2ca1c1a commit 1536bee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/driver/adc_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "hal/adc_hal.h"
#include "hal/adc_hal_conf.h"
#include "esp_private/sar_periph_ctrl.h"
#include "esp_private/esp_sleep_internal.h"

#if SOC_DAC_SUPPORTED
#include "driver/dac.h"
Expand Down Expand Up @@ -437,6 +438,8 @@ void adc1_ulp_enable(void)
adc_ll_amp_disable();
#endif
SARADC1_EXIT();

esp_sleep_enable_adc_tsens_monitor(true);
}
#endif

Expand Down
2 changes: 1 addition & 1 deletion examples/system/deep_sleep_wake_stub/example_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_deep_sleep_wake_stub(env, extra_data): # type: (tiny_test_fw.Env, typi

start_sleep = time.time()
print('Waiting for wakeup...')
dut.expect('wake stub: going to deep sleep')
dut.expect('wake stub: going to deep sleep', timeout=15)

sleep_time = time.time() - start_sleep
print('Host measured sleep time at {:.2f}s'.format(sleep_time))
Expand Down

0 comments on commit 1536bee

Please sign in to comment.