Coding style updated/fixed
Indentations of class definitions and preprocessor statements were not uniform throughout the code. This commit cleans up indentations as well as the order of include statements. Style conventions see: https://github.com/LibreSolar/coding-style
This commit is contained in:
@@ -7,13 +7,14 @@
|
||||
#ifndef CAN_MSG_QUEUE_H
|
||||
#define CAN_MSG_QUEUE_H
|
||||
|
||||
#ifdef STM32F0 // STM32L0 does not have CAN
|
||||
|
||||
#include "mbed.h"
|
||||
|
||||
#ifdef STM32F0 // STM32L0 does not have CAN
|
||||
|
||||
#define CAN_QUEUE_SIZE 30
|
||||
|
||||
class CANMsgQueue {
|
||||
class CANMsgQueue
|
||||
{
|
||||
public:
|
||||
bool full();
|
||||
bool empty();
|
||||
@@ -30,4 +31,4 @@ private:
|
||||
|
||||
#endif /* STM32F0 */
|
||||
|
||||
#endif /* CAN_MSG_QUEUE_H */
|
||||
#endif /* CAN_MSG_QUEUE_H */
|
||||
|
||||
Reference in New Issue
Block a user