Browse Source

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.
master
bugobliterator 10 years ago committed by Andrew Tridgell
parent
commit
9f5f5871f2
  1. 2
      libraries/AP_Notify/AP_Notify.cpp

2
libraries/AP_Notify/AP_Notify.cpp

@ -55,7 +55,7 @@ void AP_Notify::update(void) @@ -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

Loading…
Cancel
Save