Skip to content

Commit e5f48a6

Browse files
authored
Add #include guard around Modulino.h
My project currently cannot include modulino.h from two source files. An include guard could resolve this issue.
1 parent 485e3d2 commit e5f48a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Modulino.h

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef ARDUINO_LIBRARIES_MODULINO_H
2+
#define ARDUINO_LIBRARIES_MODULINO_H
3+
14
// Copyright (c) 2024 Arduino SA
25
// SPDX-License-Identifier: MPL-2.0
36

@@ -506,3 +509,5 @@ class ModulinoDistance : public Module {
506509
float internal = NAN;
507510
_distance_api* api = nullptr;
508511
};
512+
513+
#endif

0 commit comments

Comments
 (0)