From 62f96f09115edca4ce090dc062916dc95f61a1e3 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 5 Jun 2016 15:11:35 -0400 Subject: [PATCH] generic: Move simulator/gpio.h to generic/gpio.h Signed-off-by: Kevin O'Connor --- src/{simulator => generic}/gpio.h | 4 ++-- src/simulator/gpio.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/{simulator => generic}/gpio.h (94%) diff --git a/src/simulator/gpio.h b/src/generic/gpio.h similarity index 94% rename from src/simulator/gpio.h rename to 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 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};