fix: offline standalone compiling

This commit is contained in:
proddy
2021-03-30 17:58:22 +02:00
parent d47fcda0fe
commit 108f236874
3 changed files with 10 additions and 8 deletions

View File

@@ -53,11 +53,7 @@ int digitalRead(uint8_t pin);
#define PROGMEM
#define PGM_P const char *
#define PSTR(s) \
(__extension__({ \
static const char __c[] = (s); \
&__c[0]; \
}))
#define PSTR(s) s
class __FlashStringHelper;
#define FPSTR(string_literal) (reinterpret_cast<const __FlashStringHelper *>(string_literal))
@@ -196,11 +192,13 @@ class NativeConsole : public Stream {
#include <Network.h>
extern NativeConsole Serial;
extern ETHClass ETH;
extern WiFiClass WiFi;
extern ETHClass ETH;
extern WiFiClass WiFi;
unsigned long millis();
int64_t esp_timer_get_time();
void delay(unsigned long millis);
void yield(void);