v1.3增加一个简单的越障模式
This commit is contained in:
1 parent
9d56ba85f1
commit
7a1931cb72
1835 files changed
+475654
-1
No files matched your search
@@ -0,0 +1,25 @@
|
||||
|
||||
#include "fl/has_include.h"
|
||||
|
||||
|
||||
// Platform must be esp32.
|
||||
#if !defined(ESP32) || !FL_HAS_INCLUDE("sdkconfig.h")
|
||||
#define IS_ESP32_DEV 0
|
||||
#else
|
||||
|
||||
#include "sdkconfig.h"
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
#define IS_ESP32_DEV 1
|
||||
#else
|
||||
#define IS_ESP32_DEV 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if IS_ESP32_DEV
|
||||
#include "EspI2SDemo.h"
|
||||
#else
|
||||
#include "platforms/sketch_fake.hpp"
|
||||
#endif
|
||||
Reference in new issue
Block a user