@@ -201,8 +201,8 @@ uint8_t oneWire_lld_TouchReset(void)
201201 // set UART baud rate to 9600bps (required to send the RESET condition to the 1-Wire bus)
202202 uartSetSpeed (9600 );
203203
204- chBSemReset (& ONEWIRED1 .TxCompleted , true;
205- chBSemReset (& ONEWIRED1 .RxCompleted , true;
204+ chBSemReset (& ONEWIRED1 .TxCompleted , true) ;
205+ chBSemReset (& ONEWIRED1 .RxCompleted , true) ;
206206 uartStartReceive (ONEWIRED1 .UartDriver , 1 , & ONEWIRED1 .RxBuffer [0 ]);
207207 uartStartSend (ONEWIRED1 .UartDriver , 1 , & ONEWIRED1 .TxBuffer [0 ]);
208208 chThdSleepMilliseconds (10 );
@@ -229,8 +229,8 @@ bool oneWire_lld_TouchBit(bool sendbit)
229229 // (only required for Cortex-M7)
230230 cacheBufferFlush (& ONEWIRED1 .TxBuffer [0 ], 1 );
231231
232- chBSemReset (& ONEWIRED1 .RxCompleted , true;
233- chBSemReset (& ONEWIRED1 .TxCompleted , true;
232+ chBSemReset (& ONEWIRED1 .RxCompleted , true) ;
233+ chBSemReset (& ONEWIRED1 .TxCompleted , true) ;
234234 uartStartReceive (ONEWIRED1 .UartDriver , 1 , & ONEWIRED1 .RxBuffer [0 ]);
235235 uartStartSend (ONEWIRED1 .UartDriver , 1 , & ONEWIRED1 .TxBuffer [0 ]);
236236 chThdSleepMilliseconds (0.1 );
@@ -274,8 +274,8 @@ uint8_t oneWire_lld_TouchByte(uint8_t sendbyte)
274274 // (only required for Cortex-M7)
275275 cacheBufferFlush (& ONEWIRED1 .TxBuffer [0 ], 8 );
276276
277- chBSemReset (& ONEWIRED1 .RxCompleted , true;
278- chBSemReset (& ONEWIRED1 .TxCompleted , true;
277+ chBSemReset (& ONEWIRED1 .RxCompleted , true) ;
278+ chBSemReset (& ONEWIRED1 .TxCompleted , true) ;
279279 uartStartReceive (ONEWIRED1 .UartDriver , 8 , & ONEWIRED1 .RxBuffer [0 ]);
280280 uartStartSend (ONEWIRED1 .UartDriver , 8 , & ONEWIRED1 .TxBuffer [0 ]);
281281 chThdSleepMilliseconds (0.1 );
0 commit comments