File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cores/arduino/ard_sup/gpio Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ uint8_t gpio_num_isr = 0;
14
14
// *****************************************************************************
15
15
// Local function declarations
16
16
// *****************************************************************************
17
- uint32_t ap3_get_funct_sel (ap3_gpio_pad_t pad);
17
+ static inline uint32_t ap3_get_funct_sel (ap3_gpio_pad_t pad);
18
18
19
19
// *****************************************************************************
20
20
// Local defines.
@@ -151,7 +151,7 @@ extern void digitalWrite(uint8_t pin, uint8_t val)
151
151
}
152
152
}
153
153
154
- uint32_t ap3_get_funct_sel (ap3_gpio_pad_t pad)
154
+ static inline uint32_t ap3_get_funct_sel (ap3_gpio_pad_t pad)
155
155
{
156
156
uint32_t padregAddr = AM_REGADDR (GPIO, PADREGA) + (pad & ~0x3 );
157
157
uint32_t padShft = ((pad & 0x3 ) << 3 );
You can’t perform that action at this time.
0 commit comments