Commit Graph

25 Commits

Author SHA1 Message Date
Lucas De Marchi
831d8acca5 Remove use of PROGMEM
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:

    git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
    git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'

The 2 commands were done so we don't leave behind spurious spaces.

AVR-specific places were not changed.
2015-10-30 14:35:16 +09:00
Gustavo Jose de Sousa
99fd585a54 AC_Sprayer: 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:28:41 +10:00
Randy Mackay
1bf0139162 AC_Sprayer: init flags
Resolves warning from Coverity
2015-06-08 14:46:35 +09:00
Randy Mackay
ce2d0a14a6 AC_Sprayer: remove example sketch
This only tested compiling anyway
2015-03-13 16:40:54 +09:00
Randy Mackay
a5ec3e3ec1 AC_Sprayer: fix example sketch 2015-01-28 17:15:33 +09:00
Andrew Tridgell
5ec8ce933e AC_Sprayer: updates for new AP_Baro API 2015-01-09 11:50:56 +11:00
Andrew Tridgell
31eeb657ca AC_Sprayer: fixed example build 2014-10-24 12:10:39 +11:00
Andrew Tridgell
e2b813480f AC_Sprayer: fixed example build 2014-08-13 21:45:49 +10:00
Randy Mackay
6a6482fb03 AC_Sprayer: fix example sketch 2014-07-29 12:00:59 +09:00
Andrew Tridgell
f75318ee0a AC_Sprayer: fixed example build 2014-07-25 17:53:43 +10:00
Randy Mackay
10588d6d36 AC_Sprayer: append f to floating point constants
Reduces some compiler warnings
2014-07-16 14:40:47 +09:00
Randy Mackay
9b6a4e0fc7 AC_Sprayer: fix example sketch 2014-05-08 16:25:11 +09:00
Andrew Tridgell
1e9dcba3da AC_Sprayer: fixed example build 2014-03-19 12:13:59 +09:00
Randy Mackay
889ee1bfef AC_Sprayer: fix example sketch 2014-02-15 06:09:08 +11:00
Randy Mackay
35ef9c73d1 AC_Sprayer: minor comment fix 2014-02-15 05:27:40 +11:00
Andrew Tridgell
305c6e4b56 AC_Sprayer: fixed example build 2013-12-17 11:51:37 +11:00
Randy Mackay
2d202df98a Sprayer: fixed example sketch 2013-11-24 14:11:52 +09:00
Randy Mackay
f56d00ebb6 AC_Sprayer: add doxygen info 2013-10-27 13:40:57 +09:00
Tobias
c62f2e3d0c AC_Sprayer: replace unnecessary object with const ref 2013-10-27 13:40:44 +09:00
Tobias
e2c3ea0f56 AC_Sprayer: add consts, update comments
* removed some comments that were left over from the classes this class
was copypasta'ed from
2013-10-27 13:39:32 +09:00
Andrew Tridgell
e1aa6e3ff1 libraries: fixed examples for no flash_leds() callback 2013-09-19 18:38:28 +10:00
Randy Mackay
ac98644405 Sprayer: minor change to flags type 2013-09-12 22:24:14 +09:00
Randy Mackay
5e7a6b3b98 Sprayer: add pump min rate and test
If pump is enabled while copter is disarmed it will spray as if
travelling at 1m/s
2013-09-11 17:04:58 +09:00
Randy Mackay
c7464f635c AC_Sprayer: turn on/off the spinner with the pump 2013-08-05 21:12:28 +09:00
Randy Mackay
e4ca7d2fdf AC_Sprayer: first implementation 2013-08-05 21:11:09 +09:00