From c1f59186fab0949133c946043c21c61366ba32f5 Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sat, 13 Jul 2024 12:42:37 -0500 Subject: [PATCH] AP_DroneCAN: DNA_Server: make reset method private --- libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.h b/libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.h index ee58191e80..b87bbaa233 100644 --- a/libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.h +++ b/libraries/AP_DroneCAN/AP_DroneCAN_DNA_Server.h @@ -62,6 +62,9 @@ class AP_DroneCAN_DNA_Server //Generates 6Byte long hash from the specified unique_id void getHash(NodeData &node_data, const uint8_t unique_id[], uint8_t size) const; + //Reset the Server Record + void reset(); + //Reads the Server Record from storage for specified node id bool readNodeData(NodeData &data, uint8_t node_id); @@ -113,9 +116,6 @@ public: //Initialises publisher and Server Record for specified uavcan driver bool init(uint8_t own_unique_id[], uint8_t own_unique_id_len, uint8_t node_id); - //Reset the Server Record - void reset(); - /* Checks if the node id has been verified against the record Specific CAN drivers are expected to check use this method to verify if the node is healthy and has static node_id against