mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
fix: offline standalone compiling
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user