mirror of https://github.com/ARMmbed/mbed-os.git
Resolving the astyle error
parent
debfda67f2
commit
d4eba5c0a7
|
@ -60,7 +60,6 @@ public:
|
|||
* 1 if message arrived
|
||||
*/
|
||||
int read(CANMessage &msg, int handle = 0);
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue