File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Src/communication/wakaama_client/objects Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 142142/*-----------------------------------------------------------------------------*/
143143/* USER CODE BEGIN 1 */
144144
145+ #define MEM_SIZE 3200
146+
145147/* USER CODE END 1 */
146148
147149#ifdef __cplusplus
Original file line number Diff line number Diff line change @@ -353,7 +353,6 @@ lwm2m_object_t * get_target_object(void)
353353
354354 TARGET_t * target = target_list .next ;
355355 while (target != NULL ) {
356- printf ("Add targetObject: %d\n" , i );
357356 targetP = (target_instance_t * )lwm2m_malloc (sizeof (target_instance_t ));
358357 if (NULL == targetP ) return NULL ;
359358 memset (targetP , 0 , sizeof (target_instance_t ));
@@ -371,6 +370,7 @@ lwm2m_object_t * get_target_object(void)
371370
372371 targetObj -> instanceList = LWM2M_LIST_ADD (targetObj -> instanceList , targetP );
373372
373+ printf ("Add targetObject %d: %s\n" , i , targetP -> target_type );
374374 target = target -> next ;
375375 i ++ ;
376376 }
You can’t perform that action at this time.
0 commit comments