restore format check

This commit is contained in:
Daniel Agar 2015-10-06 15:26:19 -04:00
parent 74a61a3610
commit 2529f07d44
5 changed files with 10 additions and 7 deletions

View File

@ -87,7 +87,7 @@ env:
- PX4_AWS_BUCKET=px4-travis
script:
#- make check_format
- make check_format
- arm-none-eabi-gcc --version
- echo 'Building POSIX Firmware..' && echo -en 'travis_fold:start:script.1\\r'
- make posix_sitl_simple -j4

View File

@ -153,6 +153,9 @@ sitl_ros:
# Other targets
# --------------------------------------------------------------------
check_format:
@./Tools/check_code_style.sh
clean:
@rm -rf build_*/

View File

@ -88,7 +88,7 @@ extern struct param_info_s *param_info_base;
extern struct param_info_s *param_info_limit;
#else
// FIXME - start and end are reversed
static const struct param_info_s *param_info_base = (const struct param_info_s *)&px4_parameters;
static const struct param_info_s *param_info_base = (const struct param_info_s *) &px4_parameters;
#endif
#define param_info_count px4_parameters.param_count