KiritoA / multiwii

Automatically exported from code.google.com/p/multiwii

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

r1729 incorrect enum for ALRM_LVL_GPS_NOFIX

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
1. Fit / enable buzzer
2. Power up board with GPS but no fix
3.

What is the expected output? What do you see instead?
Expected: LED indicates no fix, buzzer is silent
Actual: buzzer sounds continuously

What version of the product are you using? On what operating system?
2.4.0r1729 on mega2560

Please provide any additional information below.

Incorrect assignment of enum compared to MW-NAV-b7. In Alarm.h, c. line 79 
currently sets ALRM_LVL_GPS_NOFIX  = 1, the fix is:

#if GPS
  enum alrm_lvl_gps {
   ALRM_LVL_GPS_NOFIX  = 2,
  };
#endif

This restores expected behaviour.


Original issue reported on code.google.com by jonathan...@gmail.com on 7 Dec 2014 at 3:33