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:
@@ -35,7 +35,7 @@ rtc_hw_to_system(void)
|
|||||||
uint32 current_time;
|
uint32 current_time;
|
||||||
|
|
||||||
current_time = arch_rtc_get_hw_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();
|
rtc_print();
|
||||||
} else {
|
} else {
|
||||||
// If there was an argument, reset the system and hw time.
|
// 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();
|
rtc_system_to_hw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user