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:
imBenjamin741 2024-02-08 09:12:51 +01:00 committed by GitHub
parent 88f67aff99
commit 7632137956
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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