@@ -1132,11 +1132,7 @@ UavcanNode::print_info()
11321132{
11331133	//  Memory status
11341134	printf (" Pool allocator status:\n " 
1135- 	printf (" \t Capacity hard/soft: %" " /%" "  blocks\n " 
1136- 	       _pool_allocator.getBlockCapacityHardLimit (), _pool_allocator.getBlockCapacity ());
1137- 	printf (" \t Reserved:  %" "  blocks\n " getNumReservedBlocks ());
1138- 	printf (" \t Allocated: %" "  blocks\n " getNumAllocatedBlocks ());
1139- 
1135+ 	printf (" \t Capacity : %" "  blocks\n " getBlockCapacity ());
11401136	printf (" \n " 
11411137
11421138	//  UAVCAN node perfcounters
@@ -1211,14 +1207,6 @@ UavcanNode::print_info()
12111207	perf_print_counter (_interval_perf);
12121208}
12131209
1214- void 
1215- UavcanNode::shrink ()
1216- {
1217- 	(void )pthread_mutex_lock (&_node_mutex);
1218- 	_pool_allocator.shrink ();
1219- 	(void )pthread_mutex_unlock (&_node_mutex);
1220- }
1221- 
12221210void 
12231211UavcanNode::cb_getset (const  uavcan::ServiceCallResult<uavcan::protocol::param::GetSet> &result)
12241212{
@@ -1435,7 +1423,7 @@ UavcanNode::get_next_dirty_node_id(uint8_t base)
14351423static  void  print_usage ()
14361424{
14371425	PX4_INFO (" usage: \n " 
1438- 		 " \t uavcan {start|status|stop|shrink| update}\n " 
1426+ 		 " \t uavcan {start|status|stop|update}\n " 
14391427		 " \t         param [set|get|list|save] <node-id> <name> <value>|reset <node-id>" 
14401428}
14411429
@@ -1492,11 +1480,6 @@ extern "C" __EXPORT int uavcan_main(int argc, char *argv[])
14921480		::exit (0 );
14931481	}
14941482
1495- 	if  (!std::strcmp (argv[1 ], " shrink" 
1496- 		inst->shrink ();
1497- 		::exit (0 );
1498- 	}
1499- 
15001483	/* 
15011484	 * Parameter setting commands 
15021485	 * 
0 commit comments