diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-06-05 15:11:35 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-06-13 23:18:59 -0400 |
commit | 62f96f09115edca4ce090dc062916dc95f61a1e3 (patch) | |
tree | 261f89ccb6e11c212a903b86d0c84aa5de5985e6 | |
parent | 73f3b0636a369f9e89fe44b56825eead5361601c (diff) | |
download | kutter-62f96f09115edca4ce090dc062916dc95f61a1e3.tar.gz kutter-62f96f09115edca4ce090dc062916dc95f61a1e3.tar.xz kutter-62f96f09115edca4ce090dc062916dc95f61a1e3.zip |
generic: Move simulator/gpio.h to generic/gpio.h
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | src/generic/gpio.h (renamed from src/simulator/gpio.h) | 4 | ||||
-rw-r--r-- | src/simulator/gpio.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/simulator/gpio.h b/src/generic/gpio.h index 84deb7ef..07307b9e 100644 --- a/src/simulator/gpio.h +++ b/src/generic/gpio.h @@ -1,5 +1,5 @@ -#ifndef __SIMU_GPIO_H -#define __SIMU_GPIO_H +#ifndef __GENERIC_GPIO_H +#define __GENERIC_GPIO_H #include <stdint.h> diff --git a/src/simulator/gpio.c b/src/simulator/gpio.c index 90d684e9..6e89f946 100644 --- a/src/simulator/gpio.c +++ b/src/simulator/gpio.c @@ -4,7 +4,7 @@ // // This file may be distributed under the terms of the GNU GPLv3 license. -#include "gpio.h" // gpio_out_write +#include "board/gpio.h" // gpio_out_write struct gpio_out gpio_out_setup(uint8_t pin, uint8_t val) { return (struct gpio_out){.pin=pin}; |