mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-19 14:33:45 +02:00
Configure nlohmann-json to suit espidf environment
This commit is contained in:
@@ -28,6 +28,10 @@
|
|||||||
#include <UVCStream.hpp>
|
#include <UVCStream.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// defines to configure nlohmann-json for esp32
|
||||||
|
#define JSON_NO_IO 1
|
||||||
|
#define JSON_NOEXCEPTION 1
|
||||||
|
|
||||||
#ifdef CONFIG_LED_DEBUG_ENABLE
|
#ifdef CONFIG_LED_DEBUG_ENABLE
|
||||||
#define BLINK_GPIO (gpio_num_t) CONFIG_LED_DEBUG_GPIO
|
#define BLINK_GPIO (gpio_num_t) CONFIG_LED_DEBUG_GPIO
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user