@@ -43,8 +43,7 @@ int getSerialChar(int* serial) {
43
43
TEST (CommandInterpreterTest, CreateCommandInterpreter) {
44
44
testing::internal::CaptureStdout ();
45
45
int serial = -1 ;
46
- initializeSerial
47
- (&serial);
46
+ initializeSerial (&serial);
48
47
49
48
auto pinNumbers = std::vector<int >{4 , 5 , 2 , 3 , 9 , 7 , 8 , 6 };
50
49
@@ -90,8 +89,7 @@ TEST(CommandInterpreterTest, CreateCommandInterpreter) {
90
89
TEST (CommandInterpreterTest, CreateCommandInterpreterWithDigitalPins) {
91
90
testing::internal::CaptureStdout ();
92
91
int serial = -1 ;
93
- initializeSerial
94
- (&serial);
92
+ initializeSerial (&serial);
95
93
96
94
auto pinNumbers = std::vector<int >{4 , 5 , 2 , 3 , 9 , 7 , 8 , 6 };
97
95
@@ -142,8 +140,7 @@ TEST(CommandInterpreterTest, CreateCommandInterpreterWithDigitalPins) {
142
140
TEST (CommandInterpreterTest, BlindExecuteHardwarePwm) {
143
141
testing::internal::CaptureStdout ();
144
142
int serial = -1 ;
145
- initializeSerial
146
- (&serial);
143
+ initializeSerial (&serial);
147
144
148
145
const CommandComponent acceleration = {1900 , 1900 , 1100 ,
149
146
1250 , 1300 , 1464 , 1535 ,
@@ -206,8 +203,7 @@ TEST(CommandInterpreterTest, BlindExecuteHardwarePwm) {
206
203
TEST (CommandInterpreterTest, BlindExecuteSoftwarePwm) {
207
204
testing::internal::CaptureStdout ();
208
205
int serial = -1 ;
209
- initializeSerial
210
- (&serial);
206
+ initializeSerial (&serial);
211
207
212
208
const CommandComponent acceleration = {1100 , 1900 , 1100 ,
213
209
1250 , 1300 , 1464 , 1535 ,
0 commit comments