Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
e36620e6
Commit
e36620e6
authored
Nov 22, 2019
by
Rahix
Browse files
chore(hardware-init): Fix a sign-compare warning
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
321a941e
Changes
1
Hide whitespace changes
Inline
Side-by-side
epicardium/modules/hardware.c
View file @
e36620e6
...
...
@@ -95,7 +95,7 @@ int hardware_early_init(void)
;
/* If we don't have a valid time yet, set it to 2019-01-01 */
if
(
RTC_GetSecond
()
<
1546300800
U
L
)
{
if
(
RTC_GetSecond
()
<
1546300800L
)
{
epic_rtc_set_milliseconds
(
1546300800UL
*
1000
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment