Fix serial wait bug in sleep test.
During the sleep_usticker_test and the deepsleep_lpticker_test a sleep
was placed above the main testing loop in order to give the device some
time to finish the Green Tea UART transmissions before entering sleep
mode. Since there is a Green Tea transmission at the end of each
iteration of this test loop, this sleep should be called for each loop
instead of just once before it.
ls
1 parent c70baa9 commit 0ae7516cacfc7f503374bf9b6a789ae410c7b59b
@Dustin Crossman Dustin Crossman authored on 21 Feb 2020
Showing 1 changed file
View
TESTS/mbed_hal/sleep/main.cpp