Skip to content

Commit ce033aa

Browse files
authored
Merge pull request #1 from Hiabuto-de/stm32-defines
Added defines for STM32
2 parents 58835a1 + 9c4837d commit ce033aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/PS2KeyAdvanced.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@
155155
#define PS2_CLEAR_PENDING_IRQ 1
156156
#endif
157157

158+
#if defined( ARDUINO_ARCH_STM32 )
159+
#define PS2_SUPPORTED 1
160+
#define PS2_CLEAR_PENDING_IRQ 1
161+
#endif
162+
158163
// Invalid architecture
159164
#if !( defined( PS2_SUPPORTED ) )
160165
#warning Library is NOT supported on this board Use at your OWN risk

0 commit comments

Comments
 (0)