Siddharth Purohit
895039cdce
AP_Notify: Use HAL_CANMANAGER_ENABLED instead of HAL_ENABLE_LIBUAVCAN_DRIVERS
4 years ago
Michael du Breuil
bde695d11f
AP_Notify: UAVCAN_RGB_LED: don't init if no UAVCAN backends
...
This allows us to consider enabling UAVCAN_RGB_LED as a more general
default, as it won't consume one of our limited backend slots if UAVCAN
is not enabled.
4 years ago
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
4 years ago
Siddharth Purohit
81c7099848
AP_Notify: move to using CANManager library
5 years ago
Andrew Tridgell
1762a2708c
AP_Notify: removed unused hal variable
7 years ago
Francisco Ferreira
3b61a31bb4
AP_Notify: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
f468602baf
AP_Notify: revert wrong commit 228058e089
...
Also change the order of logical OR so that led_write in UAVCAN_RGB_LED is called for all UAVCAN instances and not only first one
7 years ago
Tom Pittenger
228058e089
AP_Notify: update some logic syntax
...
non-functional change, just the logic easier to read.
Converted
success = success || blah
to
success |= blah
7 years ago
Nikita Tomilov
b5467bed7f
AP_Notify: add new device UAVCAN_RGB_LED
...
This enables sending ArduPilot status color via UAVCAN bus.
7 years ago