Skip to content

Commit d4eba5c

Browse files
committed
Resolving the astyle error
1 parent debfda6 commit d4eba5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/include/drivers/RawCAN.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class RawCAN: public CAN {
6060
* 1 if message arrived
6161
*/
6262
int read(CANMessage &msg, int handle = 0);
63-
6463
};
6564
}
6665

drivers/source/RawCAN.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ RawCAN::RawCAN(PinName rd, PinName td, int hz): CAN(rd, td, hz) {}
3333
* any effect on the performance. This will work only in case of a single
3434
* thread accessing a CAN instance, multiple threads will lead to race conditions
3535
*/
36-
int RawCAN::read(CANMessage &msg, int handle) {
36+
int RawCAN::read(CANMessage &msg, int handle)
37+
{
3738
int ret = can_read(&_can, &msg, handle);
3839
return ret;
3940
}

0 commit comments

Comments
 (0)