@@ -106,7 +106,7 @@ int DRV_SSDP_Active = 0;
106
106
107
107
void Main_ForceUnsafeInit ();
108
108
109
- #if PLATFORM_XR809
109
+ #if PLATFORM_XR809 || PLATFORM_XR872
110
110
size_t xPortGetFreeHeapSize () {
111
111
return 0 ;
112
112
}
@@ -208,7 +208,7 @@ void extended_app_waiting_for_launch2(void) {
208
208
#endif
209
209
210
210
211
- #if defined(PLATFORM_LN882H ) || defined(PLATFORM_ESPIDF )
211
+ #if defined(PLATFORM_LN882H ) || defined(PLATFORM_ESPIDF ) || defined( PLATFORM_XR872 )
212
212
213
213
int LWIP_GetMaxSockets () {
214
214
return 0 ;
@@ -666,7 +666,7 @@ void Main_OnEverySecond()
666
666
#if WINDOWS
667
667
#elif PLATFORM_BL602
668
668
#elif PLATFORM_W600 || PLATFORM_W800
669
- #elif PLATFORM_XR809
669
+ #elif PLATFORM_XR809 || PLATFORM_XR872
670
670
#elif PLATFORM_BK7231N || PLATFORM_BK7231T
671
671
if (ota_progress () == -1 )
672
672
#endif
@@ -1054,7 +1054,7 @@ void quick_timer_thread(void* param)
1054
1054
}
1055
1055
#elif PLATFORM_ESPIDF
1056
1056
esp_timer_handle_t g_quick_timer ;
1057
- #elif PLATFORM_XR809 || PLATFORM_LN882H
1057
+ #elif PLATFORM_XR809 || PLATFORM_LN882H || PLATFORM_XR872
1058
1058
OS_Timer_t g_quick_timer ;
1059
1059
#else
1060
1060
beken_timer_t g_quick_timer ;
@@ -1074,7 +1074,7 @@ void QuickTick_StartThread(void)
1074
1074
1075
1075
esp_timer_create (& g_quick_timer_args , & g_quick_timer );
1076
1076
esp_timer_start_periodic (g_quick_timer , QUICK_TMR_DURATION * 1000 );
1077
- #elif PLATFORM_XR809 || PLATFORM_LN882H
1077
+ #elif PLATFORM_XR809 || PLATFORM_LN882H || PLATFORM_XR872
1078
1078
1079
1079
OS_TimerSetInvalid (& g_quick_timer );
1080
1080
if (OS_TimerCreate (& g_quick_timer , OS_TIMER_PERIODIC , QuickTick , NULL ,
0 commit comments