mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-23 08:45:22 +03:00
29 lines
534 B
C
29 lines
534 B
C
|
|
#ifndef __COREDECLS_H
|
|
#define __COREDECLS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// TODO: put declarations here, get rid of -Wno-implicit-function-declaration
|
|
|
|
#include <stdint.h>
|
|
#include <cont.h> // g_pcont declaration
|
|
|
|
extern bool timeshift64_is_set;
|
|
|
|
void esp_yield();
|
|
void esp_schedule();
|
|
void tune_timeshift64 (uint64_t now_us);
|
|
void settimeofday_cb (void (*cb)(void));
|
|
void disable_extra4k_at_link_time (void) __attribute__((noinline));
|
|
|
|
uint32_t sqrt32 (uint32_t n);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __COREDECLS_H
|