Laurent Lalanne
afb32d3090
LP-72 Uncrustify after rebase
2016-05-25 13:51:40 +02:00
Vladimir Zidar
1f0bf155ce
LP-293 make use of NELEMENTS() macro instead of defining own version NELEM()
2016-04-24 02:03:50 +02:00
Vladimir Zidar
85fa65a514
LP-293 Fixed remaining buffer space calculation. Changed name of position variable to less misleading.
2016-04-22 22:47:25 +02:00
Vladimir Zidar
96ce3db02d
LP-293 Added LibrePilot to @author tag
2016-04-22 02:04:21 +02:00
Vladimir Zidar
72582d1100
LP-293 Added severity level parameter to AlarmString(). Reverted alarm sort order to natural severity levels (highest to lowest): ERROR, CRITICAL, WARNING, OK
2016-04-22 01:18:09 +02:00
Vladimir Zidar
8f937e0508
LP-293 Changed alarm strings to match GCS display
2016-04-22 01:17:59 +02:00
Vladimir Zidar
e513db4b4d
LP-293 Added state parameter to receive highest severity level.
2016-04-22 01:17:50 +02:00
Vladimir Zidar
91a9c19e1f
LP-293 Implemented AlarmString() function to return human readable SystemAlarms data
2016-04-22 01:16:37 +02:00
Corvus Corax
6faf1a73ac
OP-1456 get rid of cast_struct_to_array because it is error prone!
2014-08-24 00:16:34 +02:00
Alessio Morale
3c5a41049b
Merge branch 'amorale/OP-1302_updated_led_behaviour' into next
2014-05-11 12:01:53 +02:00
Corvus Corax
3a2b5d6332
OP-1332 fix problem in alarm handling where alarms are unable to reset on their own
2014-05-07 23:50:39 +02:00
Alessio Morale
d42debba50
OP-1302 Remove the special case for Telemetry in Alarm.c and shut up the telemetry warning in telemetry.c when disconnected
2014-04-26 20:48:30 +02:00
Alessio Morale
9ebb66fbce
OP-1302 filter out telemetry alarms
2014-04-12 22:00:26 +02:00
Alessio Morale
82c81fef6e
OP-1302 make leds more "readable"
...
Show alarm and arming/flightmode in sequence
Alarm:
Warning = rP
Error = rrP
Critical = R
Heartbeat/flightmode:
disarmed = B
armed/Stabilization1 = bbP
armed/Stabilization2 = bbbP
armed/Stabilization3 = bbbbP
armed/AH/AVario/Velocitycontrol = bvP
armed/PH/Pathplanner/POI = bbvP
armed/Land/RTB = bbvvP
note:
r/b/v = short red/blue/both blink
R/B/V = long red/blue/both blink
p/P = short/long pause
2014-04-12 22:00:02 +02:00
Corvus Corax
e18f2e6d7e
OP1290 Systemalarms optimizations as suggested by OPReview-689
2014-04-06 12:46:27 +02:00
Corvus Corax
2d9fe95b08
OP-1290 added nicer #define for magic number
2014-04-06 12:37:57 +02:00
Corvus Corax
3018e73e91
OP-1290 saved some RAM by removing last alarm update time from UAVObject
...
(static allocated array instead, and smaller element size)
2014-04-06 12:24:42 +02:00
Corvus Corax
48876620fc
OP-1290 fix event system issues caused by alarm flapping
2014-04-05 17:27:52 +02:00
Alessio Morale
e91bc28667
OP-1058 Get rid of Unions.
...
They caused stack usage increase with -fstrict-aliasing as stack slots are not reused when dealing with unions.
It has now been added the cast_struct_to_array macro in pios_struct_helper.h to handle such case where it is useful to access those homogeneous structs as arrays
+review OPReview-552
2013-09-01 12:10:55 +02:00
Alessio Morale
9e1acc3165
OP-1058: fix needed for fw_revolution code compilation
2013-07-31 15:24:26 +02:00
Sexy Pony
900f643bbd
Reformat source code with 'make uncrustify_all' run twice. NO CODE CHANGES
2013-05-19 17:37:30 +03:00
Oleg Semyonov
66db978244
Rename Libraries->libraries, Modules->modules
2013-04-25 13:13:36 +03:00