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;
1414// *****************************************************************************
1515// Local function declarations
1616// *****************************************************************************
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);
1818
1919// *****************************************************************************
2020// Local defines.
@@ -151,7 +151,7 @@ extern void digitalWrite(uint8_t pin, uint8_t val)
151151 }
152152}
153153
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)
155155{
156156 uint32_t padregAddr = AM_REGADDR (GPIO, PADREGA) + (pad & ~0x3 );
157157 uint32_t padShft = ((pad & 0x3 ) << 3 );
You can’t perform that action at this time.
0 commit comments