Skip to content

Commit

Permalink
updating CoreGPIO driver reference: 948f48e03c2
Browse files Browse the repository at this point in the history
  • Loading branch information
con-pax committed Nov 9, 2021
2 parents 1013f33 + 5e40d15 commit 48c848c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions drivers/fpga_ip/CoreGPIO/core_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
* @brief CoreGPIO bare metal driver implementation.
*
*/

#include "core_gpio.h"
#include "coregpio_regs.h"
#include "hal/hal.h"
#include "core_gpio.h"

/*-------------------------------------------------------------------------*//**
*
Expand Down
6 changes: 5 additions & 1 deletion drivers/fpga_ip/CoreGPIO/core_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,13 @@
#ifndef CORE_GPIO_H_
#define CORE_GPIO_H_

#include <stdint.h>
#ifndef LEGACY_DIR_STRUCTURE
#include "hal/hal.h"

#else
#include "hal.h"
#endif

/*-------------------------------------------------------------------------*//**
The gpio_id_t enumeration is used to identify GPIOs as part of the
parameter to functions:
Expand Down

0 comments on commit 48c848c

Please sign in to comment.