m5stack / M5Core2

M5Core2 Arduino Library
MIT License
262 stars 113 forks source link

rtc_wake_up example: shutdown(RTCtime) not working as intended #132

Closed pietrobalatti closed 1 year ago

pietrobalatti commented 1 year ago

Describe the bug

The example rtc_wake_up.ino does not work as intended. When pressing button C, the system does not wake up at the specified time but much before.

To reproduce

  1. Upload the rtc_wake_up.ino program to M5Stack
  2. Press Button C

Expected behavior

Wait for system restart, it won't meet the specified time.

Screenshots

No response

Environment

Additional context

No response

Issue checklist

Tinyu-Zhao commented 1 year ago

You can try pulling the latest M5Core2 repository. https://github.com/m5stack/M5Core2/commit/fb820a59fd899adebf10cbba23d0af299a16f720