adjust for dev target
This commit is contained in:
parent
cd01c88f24
commit
f4b77a29fd
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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]))
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user