aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Agar <daniel@agar.ca>2015-03-02 14:36:04 -0500
committerLorenz Meier <lm@inf.ethz.ch>2015-03-19 23:49:36 +0100
commitc2abb0f82ac23aab3295522ade4c255323191931 (patch)
treea87146edb8736e8f447e97eb6624b909aefe57c2 /src/lib
parentc147424fe735d92c5271ba3b5bc830bb33fb6097 (diff)
downloadpx4-firmware-c2abb0f82ac23aab3295522ade4c255323191931.tar.gz
px4-firmware-c2abb0f82ac23aab3295522ade4c255323191931.tar.bz2
px4-firmware-c2abb0f82ac23aab3295522ade4c255323191931.zip
fix code style if trivial one line difference
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/conversion/rotation.h2
-rw-r--r--src/lib/launchdetection/LaunchDetector.h2
-rw-r--r--src/lib/rc/st24.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/conversion/rotation.h b/src/lib/conversion/rotation.h
index 917c7f830..13fe701df 100644
--- a/src/lib/conversion/rotation.h
+++ b/src/lib/conversion/rotation.h
@@ -118,7 +118,7 @@ const rot_lookup_t rot_lookup[] = {
* Get the rotation matrix
*/
__EXPORT void
-get_rot_matrix(enum Rotation rot, math::Matrix<3,3> *rot_matrix);
+get_rot_matrix(enum Rotation rot, math::Matrix<3, 3> *rot_matrix);
/**
diff --git a/src/lib/launchdetection/LaunchDetector.h b/src/lib/launchdetection/LaunchDetector.h
index 4215b49d2..3b276c556 100644
--- a/src/lib/launchdetection/LaunchDetector.h
+++ b/src/lib/launchdetection/LaunchDetector.h
@@ -76,7 +76,7 @@ private:
method is checked for further adavancing in the state machine (e.g. when
to power up the motors) */
- LaunchMethod* launchMethods[1];
+ LaunchMethod *launchMethods[1];
control::BlockParamInt launchdetection_on;
control::BlockParamFloat throttlePreTakeoff;
diff --git a/src/lib/rc/st24.h b/src/lib/rc/st24.h
index 454234601..0cf732824 100644
--- a/src/lib/rc/st24.h
+++ b/src/lib/rc/st24.h
@@ -158,6 +158,6 @@ uint8_t st24_common_crc8(uint8_t *ptr, uint8_t len);
* @return 0 for success (a decoded packet), 1 for no packet yet (accumulating), 2 for unknown packet, 3 for out of sync, 4 for checksum error
*/
__EXPORT int st24_decode(uint8_t byte, uint8_t *rssi, uint8_t *rx_count, uint16_t *channel_count,
- uint16_t *channels, uint16_t max_chan_count);
+ uint16_t *channels, uint16_t max_chan_count);
__END_DECLS