Added extra defines to make this thing work under sdk 0.9.5
This commit is contained in:
@@ -27,8 +27,10 @@ char *ets_strstr(const char *haystack, const char *needle);
|
|||||||
void ets_timer_arm_new(ETSTimer *a, int b, int c, int isMstimer);
|
void ets_timer_arm_new(ETSTimer *a, int b, int c, int isMstimer);
|
||||||
void ets_timer_disarm(ETSTimer *a);
|
void ets_timer_disarm(ETSTimer *a);
|
||||||
void ets_timer_setfn(ETSTimer *t, ETSTimerFunc *fn, void *parg);
|
void ets_timer_setfn(ETSTimer *t, ETSTimerFunc *fn, void *parg);
|
||||||
|
void ets_update_cpu_frequency(int freqmhz);
|
||||||
int os_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
int os_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
||||||
int os_snprintf(char *str, size_t size, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
|
int os_snprintf(char *str, size_t size, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
|
||||||
|
int os_printf_plus(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
||||||
void pvPortFree(void *ptr);
|
void pvPortFree(void *ptr);
|
||||||
void *pvPortMalloc(size_t xWantedSize);
|
void *pvPortMalloc(size_t xWantedSize);
|
||||||
void *pvPortZalloc(size_t);
|
void *pvPortZalloc(size_t);
|
||||||
@@ -40,4 +42,5 @@ uint32 system_get_time();
|
|||||||
int os_random();
|
int os_random();
|
||||||
int rand(void);
|
int rand(void);
|
||||||
void ets_bzero(void *s, size_t n);
|
void ets_bzero(void *s, size_t n);
|
||||||
|
void ets_delay_us(int ms);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user