diff --git a/src/httpserver/new_http.c b/src/httpserver/new_http.c index f46fcf588..6d71b37a0 100644 --- a/src/httpserver/new_http.c +++ b/src/httpserver/new_http.c @@ -9,7 +9,15 @@ #include "../new_pins.h" #include "../new_cfg.h" #include "../ota/ota.h" -#ifndef WINDOWS +#ifdef WINDOWS + +#elif PLATFORM_BK7231N +// tuya-iotos-embeded-sdk-wifi-ble-bk7231n/sdk/include/tuya_hal_storage.h +#include "tuya_hal_storage.h" +#else +// REALLY? A typo in Tuya SDK? Storge? +// tuya-iotos-embeded-sdk-wifi-ble-bk7231t/platforms/bk7231t/tuya_os_adapter/include/driver/tuya_hal_storge.h + #include "tuya_hal_storge.h" #endif diff --git a/src/new_pins.c b/src/new_pins.c index 664bb23c9..1de74b206 100644 --- a/src/new_pins.c +++ b/src/new_pins.c @@ -10,6 +10,8 @@ #if WINDOWS #else +#include + #include "../../beken378/func/include/net_param_pub.h" #include "../../beken378/func/user_driver/BkDriverPwm.h" #undef PR_DEBUG