From 3b2bbf018d3630703bfbb8e4f66f6909f91f3b37 Mon Sep 17 00:00:00 2001 From: Jeroen Domburg Date: Mon, 2 Feb 2015 23:31:48 +0100 Subject: [PATCH] Added extra defines to make this thing work under sdk 0.9.5 --- include/espmissingincludes.h | 3 +++ 1 file changed, 3 insertions(+) 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