M5StickC support added
This commit is contained in:
parent
9b33dd15cc
commit
1a22645964
@ -23,6 +23,12 @@
|
|||||||
#include "esp32CAM.h"
|
#include "esp32CAM.h"
|
||||||
#elif defined(M5_STAMP_S3)
|
#elif defined(M5_STAMP_S3)
|
||||||
#include "m5StampS3.h"
|
#include "m5StampS3.h"
|
||||||
|
#elif defined(DEVKITV1RGB)
|
||||||
|
#include "esp32DevKitRGB.h"
|
||||||
|
#elif defined(S3MINIWEMOS)
|
||||||
|
#include "esp32S3MiniWemos.h"
|
||||||
|
#elif defined(S3MINIWEACT)
|
||||||
|
#include "esp32S3MiniWeact.h"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#error "No device defined"
|
#error "No device defined"
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#include "display.h"
|
#include "display.h"
|
||||||
|
|
||||||
|
#ifdef LED_DISPLAY
|
||||||
|
DisplayDriver *currentDisplayDriver = &ledDisplayDriver;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef NO_DISPLAY
|
#ifdef NO_DISPLAY
|
||||||
DisplayDriver *currentDisplayDriver = &noDisplayDriver;
|
DisplayDriver *currentDisplayDriver = &noDisplayDriver;
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,6 +29,7 @@ typedef struct
|
|||||||
extern DisplayDriver *currentDisplayDriver;
|
extern DisplayDriver *currentDisplayDriver;
|
||||||
|
|
||||||
extern DisplayDriver noDisplayDriver;
|
extern DisplayDriver noDisplayDriver;
|
||||||
|
extern DisplayDriver ledDisplayDriver;
|
||||||
extern DisplayDriver tDisplayDriver;
|
extern DisplayDriver tDisplayDriver;
|
||||||
extern DisplayDriver amoledDisplayDriver;
|
extern DisplayDriver amoledDisplayDriver;
|
||||||
extern DisplayDriver dongleDisplayDriver;
|
extern DisplayDriver dongleDisplayDriver;
|
||||||
|
Loading…
Reference in New Issue
Block a user