From 36c8b482d12937b83335981d7f7cf3aeb84ad7dc Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Fri, 29 May 2015 19:49:01 +0100 Subject: [PATCH] Re-order initialisers to be the same as the structure declation to avoid GCC compilation error. Error message is: "sorry, unimplemented: non-trivial designated initializers not supported" --- src/test/unit/rc_controls_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/unit/rc_controls_unittest.cc b/src/test/unit/rc_controls_unittest.cc index d23e517630..0050e70e18 100644 --- a/src/test/unit/rc_controls_unittest.cc +++ b/src/test/unit/rc_controls_unittest.cc @@ -241,9 +241,9 @@ protected: .rcExpo8 = 0, .thrMid8 = 0, .thrExpo8 = 0, - .rcYawExpo8 = 0, - .rates = {0,0,0}, + .rates = {0, 0, 0}, .dynThrPID = 0, + .rcYawExpo8 = 0, .tpa_breakpoint = 0 };