Adding logic to sleep indefinitely when sleep_time == 0. This allows users to set the second "resume_wifi_ble" argument while still allowing an indefinite sleep time by setting the first argument to 0.
assuming no one is actually using 0 as a real sleep time for some reason.
Adding logic to sleep indefinitely when sleep_time == 0. This allows users to set the second "resume_wifi_ble" argument while still allowing an indefinite sleep time by setting the first argument to 0.
assuming no one is actually using 0 as a real sleep time for some reason.