Skip to content

Loom doesn't set time until after sample period #194

@BGoto808

Description

@BGoto808

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:

  1. Go to Hypnos_SD_Sleep example
  2. Compile and upload code to Feather
  3. Boot up serial monitor and enter in time values as it prompts
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions