fs_shell: Change {set_}real_time_clock to match the new definitions.
This commit is contained in:
@@ -195,8 +195,8 @@ extern fssh_status_t _fssh_get_next_thread_info(fssh_team_id team,
|
|||||||
/*-------------------------------------------------------------*/
|
/*-------------------------------------------------------------*/
|
||||||
/* Time */
|
/* Time */
|
||||||
|
|
||||||
extern uint32_t fssh_real_time_clock(void);
|
extern unsigned long fssh_real_time_clock(void);
|
||||||
extern void fssh_set_real_time_clock(uint32_t secs_since_jan1_1970);
|
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_bigtime_t fssh_real_time_clock_usecs(void);
|
||||||
extern fssh_status_t fssh_set_timezone(char *timezone);
|
extern fssh_status_t fssh_set_timezone(char *timezone);
|
||||||
extern fssh_bigtime_t fssh_system_time(void); /* time since booting in microseconds */
|
extern fssh_bigtime_t fssh_system_time(void); /* time since booting in microseconds */
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
#if 0
|
#if 0
|
||||||
|
|
||||||
void
|
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
|
#endif // 0
|
||||||
|
|
||||||
uint32_t
|
unsigned long
|
||||||
fssh_real_time_clock(void)
|
fssh_real_time_clock(void)
|
||||||
{
|
{
|
||||||
timeval tv;
|
timeval tv;
|
||||||
|
|||||||
Reference in New Issue
Block a user