1
0
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:
Ivan Grokhotkov 2014-12-18 18:45:22 +03:00
parent 64dabb53f5
commit 77af5da58f
6 changed files with 9 additions and 5 deletions

View File

@ -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();
}
}

View File

@ -3,7 +3,6 @@
#include <stddef.h>
extern "C" size_t ets_printf(const char*, ...);
#define DEBUGV ets_printf

View File

@ -34,7 +34,6 @@ extern "C" {
extern "C" void esp_schedule();
extern "C" void esp_yield();
ESP8266WiFiClass::ESP8266WiFiClass()
{

View File

@ -22,6 +22,8 @@
extern "C"
{
#include "include/wl_definitions.h"
#include "osapi.h"
#include "ets_sys.h"
}
#include "debug.h"

View File

@ -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"

View File

@ -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;