Resolving the astyle error

pull/14688/head
Mohammed Mubeen 2021-06-30 18:01:04 +05:30
parent debfda67f2
commit d4eba5c0a7
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,6 @@ public:
* 1 if message arrived
*/
int read(CANMessage &msg, int handle = 0);
};
}

View File

@ -33,7 +33,8 @@ RawCAN::RawCAN(PinName rd, PinName td, int hz): CAN(rd, td, hz) {}
* any effect on the performance. This will work only in case of a single
* thread accessing a CAN instance, multiple threads will lead to race conditions
*/
int RawCAN::read(CANMessage &msg, int handle) {
int RawCAN::read(CANMessage &msg, int handle)
{
int ret = can_read(&_can, &msg, handle);
return ret;
}