Hello,
I am using Seeger for flashing Code and Debugging. I ported code from “flash_fstorage” example code to “ble_app_blinky”.
In “ble_app_blinky”, as part of wait_for_flash_ready(), I replaced power_manage() to idle_state_handle(). Is this fine. Whether both are same ?
void wait_for_flash_ready(nrf_fstorage_t const * p_fstorage)
{
/* While fstorage is busy, sleep and wait for an event. */
while (nrf_fstorage_is_busy(p_fstorage))
{
idle_state_handle();
//power_manage();
}
}
Thanks & Regards
Vishnu Beema