summaryrefslogtreecommitdiffstats
path: root/firmware/export/jz4740.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/jz4740.h')
-rw-r--r--firmware/export/jz4740.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/jz4740.h b/firmware/export/jz4740.h
index 505248a67a..afd10cef57 100644
--- a/firmware/export/jz4740.h
+++ b/firmware/export/jz4740.h
@@ -3025,7 +3025,8 @@ do { \
/*
* n = 0 ~ 7
*/
-#define __gpio_as_pwm(n) __gpio_as_pwm##n()
+#define ___gpio_as_pwm(n) __gpio_as_pwm ## n()
+#define __gpio_as_pwm(n) ___gpio_as_pwm(n)
//-------------------------------------------
// GPIO or Interrupt Mode