aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/generic/gpio.h (renamed from src/simulator/gpio.h)4
-rw-r--r--src/simulator/gpio.c2
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};