Removed rtc_set_system_time() but forgot to change internal calls to
set_real_time_clock(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5184 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
41fc24055a
commit
cc9992caa1
@ -35,7 +35,7 @@ rtc_hw_to_system(void)
|
||||
uint32 current_time;
|
||||
|
||||
current_time = arch_rtc_get_hw_time();
|
||||
rtc_set_system_time(current_time);
|
||||
set_real_time_clock(current_time);
|
||||
}
|
||||
|
||||
|
||||
@ -66,7 +66,7 @@ rtc_debug(int argc, char **argv)
|
||||
rtc_print();
|
||||
} else {
|
||||
// If there was an argument, reset the system and hw time.
|
||||
rtc_set_system_time(strtoul(argv[1], NULL, 10));
|
||||
set_real_time_clock(strtoul(argv[1], NULL, 10));
|
||||
rtc_system_to_hw();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user