fs_shell: Change {set_}real_time_clock to match the new definitions.
This commit is contained in:
parent
8c82d0edd5
commit
3b3688c7a5
@ -11,7 +11,7 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/*-------------------------------------------------------------*/
|
||||
@ -195,8 +195,8 @@ extern fssh_status_t _fssh_get_next_thread_info(fssh_team_id team,
|
||||
/*-------------------------------------------------------------*/
|
||||
/* Time */
|
||||
|
||||
extern uint32_t fssh_real_time_clock(void);
|
||||
extern void fssh_set_real_time_clock(uint32_t secs_since_jan1_1970);
|
||||
extern unsigned long fssh_real_time_clock(void);
|
||||
extern void fssh_set_real_time_clock(unsigned long secs_since_jan1_1970);
|
||||
extern fssh_bigtime_t fssh_real_time_clock_usecs(void);
|
||||
extern fssh_status_t fssh_set_timezone(char *timezone);
|
||||
extern fssh_bigtime_t fssh_system_time(void); /* time since booting in microseconds */
|
||||
|
@ -21,7 +21,7 @@
|
||||
#if 0
|
||||
|
||||
void
|
||||
fssh_set_real_time_clock(uint32_t secs_since_jan1_1970)
|
||||
fssh_set_real_time_clock(unsigned long secs_since_jan1_1970)
|
||||
{
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ fssh_set_timezone(char *timezone)
|
||||
|
||||
#endif // 0
|
||||
|
||||
uint32_t
|
||||
unsigned long
|
||||
fssh_real_time_clock(void)
|
||||
{
|
||||
timeval tv;
|
||||
|
Loading…
Reference in New Issue
Block a user