From 9f5f5871f24fa74093067732f71135a7b7cc74a3 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Sat, 8 Nov 2014 16:04:46 +0530 Subject: [PATCH] AP_Notify:Fix the typo, usage of toshibaled.init() instead of toshibaled.update() This is a part of a set of fixes for the bugs and typos tridge discovered and shared inside earlier commits for setting up tonealarm. --- libraries/AP_Notify/AP_Notify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Notify/AP_Notify.cpp b/libraries/AP_Notify/AP_Notify.cpp index 4f2cca05ce..ce4a71725c 100644 --- a/libraries/AP_Notify/AP_Notify.cpp +++ b/libraries/AP_Notify/AP_Notify.cpp @@ -55,7 +55,7 @@ void AP_Notify::update(void) tonealarm.update(); #endif #if CONFIG_HAL_BOARD == HAL_BOARD_LINUX - toshibaled.init(); + toshibaled.update(); tonealarm.update(); #endif #if CONFIG_HAL_BOARD == HAL_BOARD_APM1 || CONFIG_HAL_BOARD == HAL_BOARD_APM2