File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ void am_pal_sleep_ticks(int domain, int ticks);
8080void am_pal_sleep_ms (int ms );
8181
8282AM_PRINTF (1 , 2 ) int am_pal_printf (const char * fmt , ...);
83+ void am_pal_flush (void );
8384
8485#ifdef __cplusplus
8586}
Original file line number Diff line number Diff line change @@ -327,6 +327,8 @@ int am_pal_printf(const char *fmt, ...) {
327327 return rc ;
328328}
329329
330+ void am_pal_flush (void ) { fflush (stdout ); }
331+
330332void am_pal_ctor (void ) {}
331333
332334void am_pal_dtor (void ) {
Original file line number Diff line number Diff line change @@ -78,3 +78,15 @@ void am_pal_sleep_ticks(int domain, int ticks) {
7878}
7979
8080void am_pal_sleep_ms (int ms ) { (void )ms ; }
81+
82+ int am_pal_task_own_id (void ) { return -1 ; }
83+
84+ AM_PRINTF (1 , 2 ) int am_pal_printf (const char * fmt , ...) {
85+ va_list args ;
86+ va_start (args , fmt );
87+ int rc = vprintf (fmt , args );
88+ va_end (args );
89+ return rc ;
90+ }
91+
92+ void am_pal_flush (void ) {}
You can’t perform that action at this time.
0 commit comments