We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea4668b commit dc0b190Copy full SHA for dc0b190
variants/s20u/variant.cpp
@@ -30,7 +30,7 @@ extern "C"
30
int g_ioHandles[GPIO_PIN_MAX];
31
int g_ioModes[GPIO_PIN_MAX];
32
33
-static const int adc_channel_map[6][2] = {
+static const uint32_t adc_channel_map[6][2] = {
34
{GPIO_1, ADC_CH1},
35
{GPIO_21, ADC_CH2},
36
{GPIO_31, ADC_CH3},
@@ -39,7 +39,7 @@ static const int adc_channel_map[6][2] = {
39
{GPIO_PIN_MAX + 1, ADC_CH5},
40
};
41
42
-static const int pwm_channel_map[2][2] = {
+static const uint32_t pwm_channel_map[2][2] = {
43
{GPIO_1, PWM_CH0},
44
{GPIO_36, PWM_CH1},
45
0 commit comments