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:
Martin Jaeger
2020-01-28 13:20:01 +01:00
parent c04081fc8a
commit eed8c9114c
22 changed files with 280 additions and 267 deletions
+5 -4
View File
@@ -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 */