Adding inclusion guards to CANSAME5x.h
I was having problems in a project when I used this library and I found that inclusion guards were missing. I added them. Thanks
This commit is contained in:
parent
88f67aff99
commit
7632137956
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,9 @@
|
|||
// Licensed under the MIT license. See LICENSE file in the project root for full
|
||||
// license information.
|
||||
|
||||
#ifndef CANSAME5x_H
|
||||
#define CANSAME5x_H
|
||||
|
||||
#include "CANController.h"
|
||||
|
||||
class CANSAME5x : public CANControllerClass {
|
||||
|
|
@ -51,3 +54,5 @@ private:
|
|||
friend void CAN0_Handler(void);
|
||||
friend void CAN1_Handler(void);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue