Commit Graph

20 Commits

Author SHA1 Message Date
Peter Barker c136257a3a AP_Notify: gate mavlink access on HAL_GCS_ENABLED
via AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED
2022-10-26 21:22:39 +11:00
Peter Barker 56c4794700 AP_Notify: use existing method for setting rgb and rate 2022-10-25 12:11:38 +11:00
Peter Barker db590f65f1 AP_Notify: tidy includes 2022-05-03 09:14:58 +10:00
Michael du Breuil c0017abb63 AP_Notify: Remove indirection on RGBLed of init()->hw_init()
Saves a bit of flash, and just makes the code a bit more obvious
2021-03-30 11:18:45 +11:00
Iampete1 0f2c06d798 AP_Notify: RGBLed: rename OFF define 2020-11-02 17:40:21 -07:00
Iampete1 cf599952f5 AP_Notify: RGB LED remove unused varables 2020-11-02 17:40:21 -07:00
Peter Hall a45041ce5d AP_Notify: add handle rgb 2019-12-12 21:35:23 -07:00
Michael du Breuil 8adc6ba3ad AP_Notify: Add an alternate LED scheme 2019-09-03 11:50:52 +10:00
Pierre Kancir ad4563df2d AP_Notify: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker 2006ecf109 AP_Notify: add OBC colour scheme 2019-03-05 13:44:16 +11:00
Peter Barker 344d6b938c AP_Notify: add override keyword where required 2018-11-08 11:30:12 +11:00
Andrew Tridgell 38616e6bee AP_Notify: ensure we can't skip a step in RGBLed timing 2018-10-09 20:25:49 +09:00
Peter Barker df836ec70c AP_Notify: tidy and remove code duplications
Saves 60 bytes, too
2018-08-21 10:59:33 +10:00
Peter Barker 5ad1dee284 AP_Notify: make LED blink at constant rate in Rover 2018-08-09 11:57:05 +10:00
Michael du Breuil c5669a614e AP_Notify: Remove unneeded init guards 2018-06-27 15:25:44 +10:00
Andrew Tridgell c471b635b3 AP_Notify: added NTF_LED_OVERRIDE parameter
when this is set the board RGB LED will be controlled by MAVLink
instead of internally. This is useful for cases where the LED patterns
and colours needed are specified by an external authority (such as the
OBC organisers)
2016-07-19 13:37:13 +10:00
Lucas De Marchi 09d926fa11 AP_Notify: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
Gustavo Jose de Sousa 6d667e19b1 AP_Notify: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-11 16:38:20 +10:00
Randy Mackay 352b52d73f Notify: remove reliance on Led class 2014-12-26 13:06:24 +09:00
Staroselskii Georgii d40011acf3 AP_Notify: added abstract Led and RGBLed classes 2014-11-26 11:16:27 +11:00