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. |
---|
|
TESTS/mbed_hal/sleep/main.cpp |
---|