Skip to content

Commit 4f35b5f

Browse files
committed
Update SparkFunMPL3115A2.h
Added missing include guard.
1 parent 0fa3f67 commit 4f35b5f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SparkFunMPL3115A2.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
1010
*/
1111

12+
#ifndef _SPARKFUN_MPL3115A2_H_
13+
#define _SPARKFUN_MPL3115A2_H_
1214

1315
#if defined(ARDUINO) && ARDUINO >= 100
1416
#include "Arduino.h"
@@ -98,3 +100,5 @@ class MPL3115A2 {
98100
//Private Variables
99101

100102
};
103+
104+
#endif // End include guard

0 commit comments

Comments
 (0)