[l475] 修复bug

This commit is contained in:
Meco Man 2021-12-24 02:55:13 -05:00
parent d16ca48f90
commit 33c1bfbc79
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,6 @@ inc = [cwd]
group = DefineGroup('Arduino', src, depend = ['RT_USING_ARDUINO'], CPPPATH = inc)
src = ['arduino_main.cpp']
group = DefineGroup('Applications', src, depend = ['RT_USING_ARDUINO'])
group += DefineGroup('Applications', src, depend = ['RT_USING_ARDUINO'])
Return('group')

View File

@ -15,7 +15,7 @@
#define ARDUINO_PWM_HZ 500 /* Arduino UNO's PWM is around 500Hz */
#define ARDUINO_PINOUT_PIN_MAX 20 /* Arduino UNO has 20 pins in total*/
#define ARDUINO_PINOUT_ADC_MAX 6 /* Arduino UNO has 5 ADC pins */
#define ARDUINO_PINOUT_ADC_MAX 6 /* Arduino UNO has 6 ADC pins */
#define ARDUINO_PINOUT_PWM_MAX 5 /* Arduino UNO has 5 PWM pins */
#define A0 (14)