generic: Move simulator/gpio.h to generic/gpio.h
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
73f3b0636a
commit
62f96f0911
|
@ -1,5 +1,5 @@
|
|||
#ifndef __SIMU_GPIO_H
|
||||
#define __SIMU_GPIO_H
|
||||
#ifndef __GENERIC_GPIO_H
|
||||
#define __GENERIC_GPIO_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue