Skip to content

Commit feb373a

Browse files
committed
Hotfix timer8 for e50x again..
1 parent af0c523 commit feb373a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

cores/arduino/gd32/timer.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@ OF SUCH DAMAGE.
7272

7373
#if defined(GD32E50X)
7474
#define TIMER7_IRQ_NAME TIMER7_Channel_IRQn
75+
#if defined(GD32EPRT) || defined(GD32E50X_HD)
76+
#define NO_TIMER_8
77+
#else
7578
#define TIMER8_IRQ_NAME TIMER0_BRK_TIMER8_IRQn
79+
#endif
7680
#if defined(GD32E50X_XD) || defined(GD32E50X_CL) || defined(GD32E508)
7781
#define TIMER7_UP_IRQ_NAME TIMER7_UP_TIMER12_IRQn
7882
#define TIMER10_IRQ_NAME TIMER0_TRG_CMT_TIMER10_IRQn

0 commit comments

Comments
 (0)