From d7c2a8029c4aefc295719174a863129645d6ab99 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sat, 20 Jun 2026 22:23:48 +0200 Subject: initial commit --- system.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 system.cpp (limited to 'system.cpp') diff --git a/system.cpp b/system.cpp new file mode 100644 index 0000000..d130d66 --- /dev/null +++ b/system.cpp @@ -0,0 +1,11 @@ +#include "system.hpp" + +#include + +namespace tq::system { + +// Abort compilation if the interrupt pin is not valid +static_assert(digitalPinToInterrupt(data_ready_signal_pin) != -1, + "The selected pin is not a valid interrupt source!"); + +} \ No newline at end of file -- cgit v1.2.3