Peter Duerr
5be23060e7
Fix resource leaks identified by cppcheck
...
* Where possible rearrange error checks to avoid branching
* Otherwise add missing `fclose`, `close`, `px4_close` calls before return
2017-08-07 22:05:17 +02:00
Lorenz Meier
a905babe95
PPM LoopbackTest: Fix resource leak
2017-01-14 07:47:03 -08:00
Lorenz Meier
9f3fe2a802
Fix unit tests leaking resources
...
This was harmless but none the less is not good style and needs fixing.
2017-01-03 14:44:45 +01:00
Lorenz Meier
cf671b5134
Fix tests and re-introduce tests into build
...
Code style fix
2016-09-27 11:56:49 +02:00
Lorenz Meier
02850e0d16
Merge pull request #2510 from mcharleb/fabsf-fix
...
Chage use of fabsf for int to abs
2015-07-02 01:34:48 +02:00
Mark Charlebois
043bf9a4d7
Chage use of fabsf for int to abs
...
Use of fabsf() for int arg failed for clang. Changed to use abs().
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-01 16:13:49 -07:00
Mark Charlebois
1e46f44123
POSIX: ported systemcmds/tests
...
Most of the systemcmds tests run in the posix build. The UART tests
fail for me as I do not have a UART connected.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-07-01 07:51:24 -07:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Lorenz Meier
32e790110e
Tests: Fix code style on system tests
2015-03-28 19:51:15 +01:00
orlando3d
e668882621
Turn on PWM output for PPM loopback test
2015-03-19 09:39:44 -08:00
Lorenz Meier
ac155b0fac
System cmds: Move to 0 based index
2015-02-09 22:56:22 +01:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Lorenz Meier
264ef47197
PPM loopback test
2013-12-05 05:02:00 +01:00
Lorenz Meier
3701a02a37
Tests for all PWM pins
2013-11-30 10:00:33 +01:00