mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 06:13:34 +08:00
Fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7.1.0
BMP280: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 gnss: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 fmu: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 timer.c: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 px4cannode_led: fix -Werror=implicit-fallthrough on arm-none-eabi-gcc 7 Fix -Werror=implicit-fallthrough on gcc7
This commit is contained in:
committed by
Beat Küng
parent
d477b1f0f4
commit
abcb920df4
@@ -189,6 +189,7 @@ void UavcanGnssBridge::gnss_fix2_sub_cb(const uavcan::ReceivedDataStructure<uavc
|
||||
vel_cov[7] = msg.covariance[19];
|
||||
vel_cov[8] = msg.covariance[20];
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
|
||||
// Full matrix 6x6.
|
||||
// This code has been carefully optimized by hand. We could use unpackSquareMatrix(), but it's slow.
|
||||
@@ -220,6 +221,7 @@ void UavcanGnssBridge::gnss_fix2_sub_cb(const uavcan::ReceivedDataStructure<uavc
|
||||
vel_cov[7] = msg.covariance[34];
|
||||
vel_cov[8] = msg.covariance[35];
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
|
||||
// Either empty or invalid sized, interpret as zero matrix
|
||||
default: {
|
||||
|
||||
Reference in New Issue
Block a user