diff --git a/src/kaleidoscope/device/dygma/raise/TWI.h b/src/kaleidoscope/device/dygma/raise/TWI.h index ba191b09..3e365f7a 100644 --- a/src/kaleidoscope/device/dygma/raise/TWI.h +++ b/src/kaleidoscope/device/dygma/raise/TWI.h @@ -16,6 +16,8 @@ * this program. If not, see . */ +#pragma once + #ifdef ARDUINO_SAMD_RAISE #include diff --git a/src/kaleidoscope/device/keyboardio/twi.h b/src/kaleidoscope/device/keyboardio/twi.h index 5b22cc40..773ce9cb 100644 --- a/src/kaleidoscope/device/keyboardio/twi.h +++ b/src/kaleidoscope/device/keyboardio/twi.h @@ -16,10 +16,9 @@ with this program. If not, see . */ -#ifdef __AVR__ +#pragma once -#ifndef twi_h -#define twi_h +#ifdef __AVR__ #ifndef KALEIDOSCOPE_VIRTUAL_BUILD @@ -56,4 +55,3 @@ void twi_releaseBus(void); #endif // ifndef KALEIDOSCOPE_VIRTUAL_BUILD #endif -#endif diff --git a/src/kaleidoscope/plugin/Turbo.h b/src/kaleidoscope/plugin/Turbo.h index f5d67e4f..3a2a74d4 100644 --- a/src/kaleidoscope/plugin/Turbo.h +++ b/src/kaleidoscope/plugin/Turbo.h @@ -19,6 +19,8 @@ #include "kaleidoscope/Runtime.h" #include +#pragma once + #define Key_Turbo Key{kaleidoscope::ranges::TURBO } namespace kaleidoscope {