Skip to content

Commit

Permalink
Merge pull request #15 from Hiabuto-de/master
Browse files Browse the repository at this point in the history
Add Suppor for STM32
  • Loading branch information
techpaul authored Nov 1, 2020
2 parents 58835a1 + ce033aa commit 8164067
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PS2KeyAdvanced.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@
#define PS2_CLEAR_PENDING_IRQ 1
#endif

#if defined( ARDUINO_ARCH_STM32 )
#define PS2_SUPPORTED 1
#define PS2_CLEAR_PENDING_IRQ 1
#endif

// Invalid architecture
#if !( defined( PS2_SUPPORTED ) )
#warning Library is NOT supported on this board Use at your OWN risk
Expand Down

0 comments on commit 8164067

Please sign in to comment.