fixes inline declarations of functions

This commit is contained in:
2025-04-13 18:13:31 +02:00
parent c73bc9e144
commit e1ea5a98d6
14 changed files with 1107 additions and 1733 deletions

View File

@@ -2,11 +2,12 @@
#define _DEVICES_GPIO_H
#include <stdint.h>
#include "gen/gpio.h"
inline void gpio_init(volatile gpio_t* reg) {
set_gpio_write(reg, 0);
set_gpio_writeEnable(reg, 0);
static inline void gpio_init(volatile gpio_t* reg) {
set_gpio_write(reg, 0);
set_gpio_writeEnable(reg, 0);
}
#endif /* _DEVICES_GPIO_H */