Git
Wiki
Site
projects
/
soft
/
lpc122x
/
core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6f283
)
Fix RTC code : return correct value on first call where it is valid.
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 27 Sep 2016 21:12:40 +0000
(23:12 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Tue, 8 Nov 2022 16:03:05 +0000
(17:03 +0100)
drivers/rtc.c
patch
|
blob
|
history
diff --git
a/drivers/rtc.c
b/drivers/rtc.c
index
0a6325a
..
f43163e
100644
(file)
--- a/
drivers/rtc.c
+++ b/
drivers/rtc.c
@@
-61,7
+61,7
@@
uint32_t rtc_get_count(void)
return 0;
}
rtc_start_ok = 1;
- return
0
;
+ return
rtc->data
;
}
}
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !