diff --git a/RF24Mesh.h b/RF24Mesh.h index ff56be7..2f2e183 100644 --- a/RF24Mesh.h +++ b/RF24Mesh.h @@ -296,14 +296,6 @@ class ESBMesh /** @deprecated For backward compatibility with older code. Use the synonymous setAddress() instead. */ void setStaticAddress(uint8_t nodeID, uint16_t address); - /** - * Releases the specified address if leased to a mesh node's ID. This is specific to master nodes, so - * network administrators can manage assigned addresses without involving a transaction with nodes that - * might be appropriating them. - * @return True if successfully released, otherwise false. - */ - bool releaseAddress(uint16_t address); - #endif // !defined(MESH_NOMASTER) /**@}*/ @@ -349,6 +341,18 @@ class ESBMesh addrListStruct* addrList; /** @brief The number of entries in the addrListStruct of assigned addresses. */ uint8_t addrListTop; + + /** + * Releases the specified address if leased to a mesh node's ID. + * + * This is specific to master nodes, so + * network administrators can manage assigned addresses without involving a transaction with nodes that + * might be appropriating them. + * + * @param address The address to release from any mesh node. + * @return True if successfully released, otherwise false. + */ + bool releaseAddress(uint16_t address); #endif /**@}*/