diff --git a/src/drivers/devices/device.h b/src/drivers/devices/device.h index 1ce007f..5367040 100644 --- a/src/drivers/devices/device.h +++ b/src/drivers/devices/device.h @@ -3,8 +3,6 @@ #if defined(NERDMINERV2) #include "nerdMinerV2.h" -#elif defined(M5STICK_C) -#include "M5Stick-C.h" #elif defined(DEVKITV1) #include "esp32DevKit.h" #elif defined(TDISPLAY) @@ -23,8 +21,6 @@ #include "esp32CAM.h" #elif defined(M5_STAMP_S3) #include "m5StampS3.h" -#elif defined(ESP32RGB) -#include "esp32RGB.h" #elif defined(NERDMINER_T_HMI) #include "lilygoT_HMI.h" diff --git a/src/drivers/displays/display.cpp b/src/drivers/displays/display.cpp index 61c0b42..8bf6b6a 100644 --- a/src/drivers/displays/display.cpp +++ b/src/drivers/displays/display.cpp @@ -4,10 +4,6 @@ DisplayDriver *currentDisplayDriver = &noDisplayDriver; #endif -#ifdef LED_DISPLAY -DisplayDriver *currentDisplayDriver = &ledDisplayDriver; -#endif - #ifdef T_DISPLAY DisplayDriver *currentDisplayDriver = &tDisplayDriver; #endif @@ -32,10 +28,6 @@ DisplayDriver *currentDisplayDriver = &t_qtDisplayDriver; DisplayDriver *currentDisplayDriver = &tDisplayV1Driver; #endif -#ifdef M5STICKC_DISPLAY -DisplayDriver *currentDisplayDriver = &m5stickCDriver; -#endif - #ifdef T_HMI_DISPLAY DisplayDriver *currentDisplayDriver = &t_hmiDisplayDriver; #endif diff --git a/src/drivers/displays/displayDriver.h b/src/drivers/displays/displayDriver.h index 5636c15..f706eac 100644 --- a/src/drivers/displays/displayDriver.h +++ b/src/drivers/displays/displayDriver.h @@ -29,14 +29,12 @@ typedef struct extern DisplayDriver *currentDisplayDriver; extern DisplayDriver noDisplayDriver; -extern DisplayDriver ledDisplayDriver; extern DisplayDriver tDisplayDriver; extern DisplayDriver amoledDisplayDriver; extern DisplayDriver dongleDisplayDriver; extern DisplayDriver esp32_2432S028RDriver; extern DisplayDriver t_qtDisplayDriver; extern DisplayDriver tDisplayV1Driver; -extern DisplayDriver m5stickCDriver; extern DisplayDriver t_hmiDisplayDriver; #define SCREENS_ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) diff --git a/src/monitor.h b/src/monitor.h index 94e3b9c..ff89c19 100644 --- a/src/monitor.h +++ b/src/monitor.h @@ -119,15 +119,13 @@ typedef struct{ String bestDifficulty; // Your miners best difficulty }pool_data; - - - void setup_monitor(void); mining_data getMiningData(unsigned long mElapsed); clock_data getClockData(unsigned long mElapsed); coin_data getCoinData(unsigned long mElapsed); pool_data getPoolData(void); + clock_data_t getClockData_t(unsigned long mElapsed);