Describe the bug
When manually setting the RTC time through the serial monitor, the time doesn't get set for the clock until after the sample period which may cause issues if the user doesn't wait until the end of the sample period.
Hardware in Use
Feather + Hypnos (or any RTC device)
To Reproduce
Steps to reproduce the behavior:
- Go to Hypnos_SD_Sleep example
- Compile and upload code to Feather
- Boot up serial monitor and enter in time values as it prompts
- Disconnect Feather before the program puts it to sleep
Expected behavior
The time will not be set and will reprompt the user for it the next time
Describe the bug
When manually setting the RTC time through the serial monitor, the time doesn't get set for the clock until after the sample period which may cause issues if the user doesn't wait until the end of the sample period.
Hardware in Use
Feather + Hypnos (or any RTC device)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The time will not be set and will reprompt the user for it the next time