diff --git a/ArduPlane/Plane.h b/ArduPlane/Plane.h index ad02b55a55..329ee54fbc 100644 --- a/ArduPlane/Plane.h +++ b/ArduPlane/Plane.h @@ -1,6 +1,6 @@ /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- -#define THISFIRMWARE "ArduPlane V3.4.0-sobi" +#define THISFIRMWARE "ArduPlane V3.4.0-sobi-v2" /* Lead developer: Andrew Tridgell diff --git a/ArduPlane/release-notes.txt b/ArduPlane/release-notes.txt index c642a01535..41d16cf482 100644 --- a/ArduPlane/release-notes.txt +++ b/ArduPlane/release-notes.txt @@ -1,3 +1,10 @@ +Release 3.4.0-sobi-v2, 29th November 2015 +------------------------------------- +DEV version with: +-added buzzer for some GPS fix statuses +-bugfix of APM2 arming while boot (see: http://ardupilot.com/forum/viewtopic.php?f=113&t=14192 , https://github.com/diydrones/ardupilot/issues/3135) + + Release 3.4.0-sobi, 2nd November 2015 ------------------------------------- DEV version with: diff --git a/libraries/AP_Notify/Buzzer.cpp b/libraries/AP_Notify/Buzzer.cpp index e8f1bbb8c9..cffeab24ae 100644 --- a/libraries/AP_Notify/Buzzer.cpp +++ b/libraries/AP_Notify/Buzzer.cpp @@ -99,6 +99,32 @@ void Buzzer::update() break; } return; + // FIXME [ms] buzzer for GPS status + case TRIPLE_BUZZ: + // buzz for 10th of a second + switch (_pattern_counter) { + case 1: + on(true); + break; + case 2: + on(false); + break; + case 3: + on(true); + break; + case 4: + on(false); + break; + case 5: + on(true); + break; + case 6: + default: + on(false); + _pattern = NONE; + break; + } + return; case ARMING_BUZZ: // record start time if (_pattern_counter == 1) {