You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
662 B
18 lines
662 B
8 years ago
|
#pragma once
|
||
|
#include <c_types.h>
|
||
|
|
||
|
// copied from nodemcu source
|
||
|
extern uint32_t system_get_time();
|
||
|
extern uint32_t platform_tmr_exists(uint32_t t);
|
||
|
extern uint32_t system_rtc_clock_cali_proc();
|
||
|
extern uint32_t system_get_rtc_time();
|
||
|
extern void system_restart();
|
||
|
extern void system_soft_wdt_feed();
|
||
|
|
||
|
// https://github.com/mziwisky/esp8266-dev/blob/master/esphttpd/include/espmissingincludes.h
|
||
|
extern int ets_str2macaddr(void *, void *);
|
||
|
extern void ets_update_cpu_frequency(int freqmhz);
|
||
|
extern int os_printf_plus(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
||
|
//extern uint8 wifi_get_opmode(void);
|
||
|
extern void ets_bzero(void *s, size_t n);
|