diff --git a/libuavcan_drivers/linux/apps/uavcan_dynamic_node_id_server.cpp b/libuavcan_drivers/linux/apps/uavcan_dynamic_node_id_server.cpp index 1be941ccda..5aa4d6d26d 100644 --- a/libuavcan_drivers/linux/apps/uavcan_dynamic_node_id_server.cpp +++ b/libuavcan_drivers/linux/apps/uavcan_dynamic_node_id_server.cpp @@ -256,7 +256,7 @@ void redraw(const uavcan_linux::NodePtr& node, /* * Constants that are permanent for the designed UI layout */ - constexpr unsigned NumRelevantEvents = 16; + constexpr unsigned NumRelevantEvents = 17; constexpr unsigned NumRowsWithoutEvents = 3; /* @@ -390,6 +390,11 @@ void redraw(const uavcan_linux::NodePtr& node, node->getInternalFailureCount(), colorize_if(node->getInternalFailureCount() != 0, CLIColor::Magenta)); + const bool all_allocated = server.guessIfAllDynamicNodesAreAllocated(); + render_top_str("All allocated", + all_allocated ? "Yes": "No", + colorize_if(!all_allocated, CLIColor::Magenta)); + // Empty line before the next block std::printf(" "); render_next_event_counter();