]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - rpp/include/drv/gio_tab.h
Uncrustify
[pes-rpp/rpp-lib.git] / rpp / include / drv / gio_tab.h
index 3d07a2a9c01eb6aee2af8350aaf32aa81e679eb1..db303b629c9bb1bbe937d581246f0841e8d4a908 100644 (file)
@@ -19,8 +19,8 @@
 #include "drv/port.h"
 
 struct gio_pin {
-       const char *pin_name;   // Pin name
-       uint32_t pin_dsc;               // Pin descriptor computed with GIO_PIN_DESC
+       const char *pin_name;   // Pin name
+       uint32_t pin_dsc;       // Pin descriptor computed with GIO_PIN_DESC
 };
 
 extern const struct gio_pin gio_table[_PIN_COUNT];
@@ -30,12 +30,12 @@ extern const struct gio_pin gio_table[_PIN_COUNT];
  * arithmetic operations like (PIN_DIN8 + 1). The enum is used in the
  * rpp layer, where it protects users from doing stupid things.
  */
-static inline void gio_tab_set(/* enum pin_name */int pin, boolean_t val)
+static inline void gio_tab_set(/* enum pin_name */ int pin, boolean_t val)
 {
        gio_set(gio_table[pin].pin_dsc, val);
 }
 
-static inline boolean_t gio_tab_get(/* enum pin_name */int pin)
+static inline boolean_t gio_tab_get(/* enum pin_name */ int pin)
 {
        return gio_get(gio_table[pin].pin_dsc);
 }