diff --git a/src/drivers/devices/device.h b/src/drivers/devices/device.h index 4ad9900..5f01a81 100644 --- a/src/drivers/devices/device.h +++ b/src/drivers/devices/device.h @@ -23,6 +23,12 @@ #include "esp32CAM.h" #elif defined(M5_STAMP_S3) #include "m5StampS3.h" +#elif defined(DEVKITV1RGB) +#include "esp32DevKitRGB.h" +#elif defined(S3MINIWEMOS) +#include "esp32S3MiniWemos.h" +#elif defined(S3MINIWEACT) +#include "esp32S3MiniWeact.h" #else #error "No device defined" diff --git a/src/drivers/displays/display.cpp b/src/drivers/displays/display.cpp index 4b14e99..9061d8e 100644 --- a/src/drivers/displays/display.cpp +++ b/src/drivers/displays/display.cpp @@ -1,5 +1,9 @@ #include "display.h" +#ifdef LED_DISPLAY +DisplayDriver *currentDisplayDriver = &ledDisplayDriver; +#endif + #ifdef NO_DISPLAY DisplayDriver *currentDisplayDriver = &noDisplayDriver; #endif diff --git a/src/drivers/displays/displayDriver.h b/src/drivers/displays/displayDriver.h index 3f4ce1a..d8858ad 100644 --- a/src/drivers/displays/displayDriver.h +++ b/src/drivers/displays/displayDriver.h @@ -29,6 +29,7 @@ typedef struct extern DisplayDriver *currentDisplayDriver; extern DisplayDriver noDisplayDriver; +extern DisplayDriver ledDisplayDriver; extern DisplayDriver tDisplayDriver; extern DisplayDriver amoledDisplayDriver; extern DisplayDriver dongleDisplayDriver;