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.
This commit is contained in:
bugobliterator 2014-11-08 16:04:46 +05:30 committed by Andrew Tridgell
parent af203760bd
commit 9f5f5871f2

View File

@ -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