Added extra defines to make this thing work under sdk 0.9.5

pull/30/head
Jeroen Domburg 10 years ago
parent 6c6d63af46
commit 3b2bbf018d
  1. 3
      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

Loading…
Cancel
Save