Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add #include guard around Modulino.h
My project currently cannot include modulino.h from two source files. An include guard could resolve this issue.
  • Loading branch information
EliTayrien authored Nov 12, 2024
commit e5f48a6502e4a8f0b7617bf3cf353f266f55a5c1
5 changes: 5 additions & 0 deletions src/Modulino.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef ARDUINO_LIBRARIES_MODULINO_H
#define ARDUINO_LIBRARIES_MODULINO_H

// Copyright (c) 2024 Arduino SA
// SPDX-License-Identifier: MPL-2.0

Expand Down Expand Up @@ -506,3 +509,5 @@ class ModulinoDistance : public Module {
float internal = NAN;
_distance_api* api = nullptr;
};

#endif