worked on FileSystem, started to migrate logging class
This commit is contained in:
@@ -11,9 +11,12 @@
|
||||
|
||||
#define TEENSY_41 41
|
||||
|
||||
#define DESKTOP 99
|
||||
|
||||
#define ESP8266 (PLATFORM == WEMOS_D1_MINI) || (PLATFORM == NODE_MCU)
|
||||
#define ESP32 (PLATFORM == WROOM32_DEVKIT) || (PLATFORM == TTGO)
|
||||
#define TEENSY (PLATFORM == TEENSY_41)
|
||||
#define IS_DESKTOP (PLATFORM == DESKTOP)
|
||||
|
||||
#ifndef PLATFORM
|
||||
#error "PLATFORM compile time variable not defined"
|
||||
@@ -36,6 +39,10 @@
|
||||
#pragma message "Using Teensy"
|
||||
#define DELAY_MS(ms) delay(ms)
|
||||
|
||||
#elif (IS_DESKTOP)
|
||||
|
||||
#pragma message "Using Desktop"
|
||||
#define DELAY_MS(ms) delay(ms)
|
||||
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user