diff --git a/include/espmissingincludes.h b/include/espmissingincludes.h index 2f12772..0fff213 100644 --- a/include/espmissingincludes.h +++ b/include/espmissingincludes.h @@ -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_disarm(ETSTimer *a); 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_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 *pvPortMalloc(size_t xWantedSize); void *pvPortZalloc(size_t); @@ -40,4 +42,5 @@ uint32 system_get_time(); int os_random(); int rand(void); void ets_bzero(void *s, size_t n); +void ets_delay_us(int ms); #endif