aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src/rtc
diff options
context:
space:
mode:
authorHenrik Berg <[email protected]>2023-06-26 08:48:04 +0200
committerHenrik Berg <[email protected]>2023-07-12 14:22:48 +0200
commit029b156563e70e00cf0ffdf9d5ec23964e5ecc77 (patch)
tree23da0319e4c2b729d7b79d26b415e95ed9f98828 /embassy-rp/src/rtc
parent55a5e9b3a51b537b7de80221d501be423af43303 (diff)
RP: Add scratchN registers to watchdog. Add Clone and Debug to DateTime
Diffstat (limited to 'embassy-rp/src/rtc')
-rw-r--r--embassy-rp/src/rtc/datetime_no_deps.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-rp/src/rtc/datetime_no_deps.rs b/embassy-rp/src/rtc/datetime_no_deps.rs
index 92770e984..ea899c339 100644
--- a/embassy-rp/src/rtc/datetime_no_deps.rs
+++ b/embassy-rp/src/rtc/datetime_no_deps.rs
@@ -25,6 +25,7 @@ pub enum Error {
25} 25}
26 26
27/// Structure containing date and time information 27/// Structure containing date and time information
28#[derive(Clone, Debug)]
28pub struct DateTime { 29pub struct DateTime {
29 /// 0..4095 30 /// 0..4095
30 pub year: u16, 31 pub year: u16,