mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
update
This commit is contained in:
parent
30b951832c
commit
39a516cd39
22 changed files with 98 additions and 3346 deletions
|
|
@ -621,6 +621,7 @@ void sys_assert( const char *msg )
|
|||
;
|
||||
}
|
||||
|
||||
/*
|
||||
u32_t sys_now(void)
|
||||
{
|
||||
return xTaskGetTickCount();
|
||||
|
|
@ -630,3 +631,5 @@ u32_t sys_jiffies(void)
|
|||
{
|
||||
return xTaskGetTickCount();
|
||||
}
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -229,14 +229,16 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
|
|||
/* sys_init() must be called before anthing else. */
|
||||
void sys_init(void);
|
||||
|
||||
#ifndef sys_jiffies
|
||||
/** Ticks/jiffies since power up. */
|
||||
u32_t sys_jiffies(void);
|
||||
#ifndef sys_jiffies
|
||||
#define sys_jiffies() xTaskGetTickCount()
|
||||
//u32_t sys_jiffies(void);
|
||||
#endif
|
||||
|
||||
/** Returns the current time in milliseconds,
|
||||
* may be the same as sys_jiffies or at least based on it. */
|
||||
u32_t sys_now(void);
|
||||
#define sys_now() xTaskGetTickCount()
|
||||
//u32_t sys_now(void);
|
||||
|
||||
/* Critical Region Protection */
|
||||
/* These functions must be implemented in the sys_arch.c file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue