Skip to content

Commit

Permalink
Make timer array bigger, remove unused define
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgerhardt committed May 3, 2023
1 parent b247206 commit a912383
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cores/arduino/HardwareTimer.cpp
Expand Up @@ -27,7 +27,7 @@ OF SUCH DAMAGE.

#include "HardwareTimer.h"
#include "pins_arduino.h"
#define TIMERNUMS 14
#define TIMERNUMS 17

HardwareTimer *hardwaretimerObj[TIMERNUMS] = {NULL};

Expand Down
1 change: 0 additions & 1 deletion cores/arduino/gd32/timer.c
Expand Up @@ -65,7 +65,6 @@ OF SUCH DAMAGE.
#define TIMER11_IRQ_NAME TIMER7_BRK_TIMER11_IRQn
#define TIMER12_IRQ_NAME TIMER7_UP_TIMER12_IRQn
#define TIMER13_IRQ_NAME TIMER7_TRG_CMT_TIMER13_IRQn
#define
#else
#define TIMER7_UP_IRQ_NAME TIMER7_UP_IRQn
#define NO_TIMER_10
Expand Down

0 comments on commit a912383

Please sign in to comment.