Commit f6296713 authored by Alén Arias Vázquez's avatar Alén Arias Vázquez 😎

make extern struct

parent 5f4bc4d2
......@@ -29,6 +29,8 @@ extern "C" {
#include <sys/mman.h>
#include <errno.h>
#include "diot_util.h"
/************************** Constant Definitions ******************************/
/***************** Macros (Inline Functions) Definitions **********************/
#define c_ADDR_VENDOR_ID 0x00
......@@ -63,10 +65,12 @@ extern "C" {
#define c_SIZE_BYTES c_ADDR_TAG_MSB*4
/**************************** Type Definitions ********************************/
/******************************** Structs *************************************/
extern struct command_entry commands_list_fpga_device[];
/************************** Variable Definitions ******************************/
/************************** Function Prototypes *******************************/
static void cmd_fpga (char *params);
static void cmd_fpga_status (char *params);
int cmd_fpga (char *params);
#ifdef __cplusplus
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment