From 2b0d669d7fe6476d381326e47ef4210c0a3ad370 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Wed, 13 May 2015 22:02:02 +0300 Subject: [PATCH] Revert "NodeStatusMonitor API update" This reverts commit 08d96ef329fe2e12ee6149787b4aca69b1f48df1. --- libuavcan/include/uavcan/protocol/node_status_monitor.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libuavcan/include/uavcan/protocol/node_status_monitor.hpp b/libuavcan/include/uavcan/protocol/node_status_monitor.hpp index 60350ef6ff..cf0dd7fd9b 100644 --- a/libuavcan/include/uavcan/protocol/node_status_monitor.hpp +++ b/libuavcan/include/uavcan/protocol/node_status_monitor.hpp @@ -110,10 +110,6 @@ private: handleNodeStatusMessage(msg); } -protected: - /** - * This event will be invoked at 2 Hz rate. It can be used by derived classes as well. - */ virtual void handleTimerEvent(const TimerEvent&) { const int OfflineTimeoutMs100 = protocol::NodeStatus::OFFLINE_TIMEOUT_MS / 100; @@ -138,6 +134,7 @@ protected: } } +protected: /** * Called when a node becomes online, changes status or goes offline. * Refer to uavcan.protocol.NodeStatus for the offline timeout value.