Skip to content

Commit

Permalink
framework/iotbus: clean up
Browse files Browse the repository at this point in the history
1. Because framework/include folder is basic path of header,
   CFLAGS which includes framework/include/iotbus folder is not needed.
2. Iotbus_gpio.c file has wrong path of including header.
  • Loading branch information
sunghan-chang committed Feb 9, 2018
1 parent 56bd351 commit cfd91eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion framework/src/iotbus/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
###########################################################################

ifeq ($(CONFIG_IOTBUS), y)
CFLAGS += -I$(TOPDIR)/../framework/include/iotbus
CSRCS += iotapi_evt_handler.c

ifeq ($(CONFIG_IOTBUS_GPIO), y)
Expand Down
4 changes: 2 additions & 2 deletions framework/src/iotbus/iotbus_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#include <fcntl.h>
#include <stdbool.h>

#include <include/iotbus/iotbus_gpio.h>
#include <include/iotbus/iotbus_error.h>
#include <iotbus/iotbus_gpio.h>
#include <iotbus/iotbus_error.h>
#include "iotapi_evt_handler.h"

#define zdbg printf
Expand Down

0 comments on commit cfd91eb

Please sign in to comment.