Skip to content

Commit

Permalink
Perform a compile-time check to see if we are really compiling for th…
Browse files Browse the repository at this point in the history
…e the only supported target architecture.
  • Loading branch information
aentinger committed Apr 30, 2024
1 parent 08385ba commit 3e266e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Arduino_open62541.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
#pragma once

#include "open62541.h"

#if !defined(ARDUINO_OPTA)
# error "This library does only support Arduino Opta"
#endif

0 comments on commit 3e266e7

Please sign in to comment.