Skip to content

Commit

Permalink
adjust for dev target
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicpsyop committed Jan 25, 2024
1 parent cd01c88 commit f4b77a2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 17 deletions.
4 changes: 0 additions & 4 deletions src/drivers/devices/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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"

Expand Down
8 changes: 0 additions & 8 deletions src/drivers/displays/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
DisplayDriver *currentDisplayDriver = &noDisplayDriver;
#endif

#ifdef LED_DISPLAY
DisplayDriver *currentDisplayDriver = &ledDisplayDriver;
#endif

#ifdef T_DISPLAY
DisplayDriver *currentDisplayDriver = &tDisplayDriver;
#endif
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions src/drivers/displays/displayDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down
4 changes: 1 addition & 3 deletions src/monitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);


Expand Down

0 comments on commit f4b77a2

Please sign in to comment.