diff --git a/src/kaleidoscope/device/technomancy/Atreus2.cpp b/src/kaleidoscope/device/technomancy/Atreus2.cpp
index f3326167..5b8475d7 100644
--- a/src/kaleidoscope/device/technomancy/Atreus2.cpp
+++ b/src/kaleidoscope/device/technomancy/Atreus2.cpp
@@ -16,6 +16,7 @@
* along with this program. If not, see .
*/
+#ifndef KALEIDOSCOPE_VIRTUAL_BUILD
#ifdef ARDUINO_AVR_ATREUS2
#include
@@ -33,3 +34,4 @@ ATMEGA_KEYSCANNER_BOILERPLATE
kaleidoscope::device::technomancy::Atreus2 &Atreus2 = kaleidoscope_internal::device;
#endif
+#endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD