mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
Clean up ets_printf declarations
This commit is contained in:
parent
64dabb53f5
commit
77af5da58f
@ -86,6 +86,7 @@ static void loop_task(os_event_t *events)
|
||||
cont_run(&g_cont, &loop_wrapper);
|
||||
if (cont_check(&g_cont) != 0)
|
||||
{
|
||||
ets_printf("\r\nheap collided with sketch stack\r\n");
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
extern "C" size_t ets_printf(const char*, ...);
|
||||
#define DEBUGV ets_printf
|
||||
|
||||
|
||||
|
@ -34,7 +34,6 @@ extern "C" {
|
||||
extern "C" void esp_schedule();
|
||||
extern "C" void esp_yield();
|
||||
|
||||
|
||||
ESP8266WiFiClass::ESP8266WiFiClass()
|
||||
{
|
||||
|
||||
|
@ -22,6 +22,8 @@
|
||||
extern "C"
|
||||
{
|
||||
#include "include/wl_definitions.h"
|
||||
#include "osapi.h"
|
||||
#include "ets_sys.h"
|
||||
}
|
||||
|
||||
#include "debug.h"
|
||||
|
@ -19,6 +19,11 @@
|
||||
|
||||
#define LWIP_INTERNAL
|
||||
|
||||
extern "C" {
|
||||
#include "osapi.h"
|
||||
#include "ets_sys.h"
|
||||
}
|
||||
|
||||
#include "debug.h"
|
||||
#include "ESP8266WiFi.h"
|
||||
#include "WiFiClient.h"
|
||||
|
@ -5,9 +5,7 @@ extern "C" {
|
||||
#include "ets_sys.h"
|
||||
#include "osapi.h"
|
||||
#include "gpio.h"
|
||||
|
||||
size_t ets_printf(const char*, ...);
|
||||
#define DEBUGV ets_printf
|
||||
#include "debug.h"
|
||||
}
|
||||
|
||||
static uint8_t s_sda_pin = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user