Fixing ATMEGA168 port paths and includes according to changes in directory structure

This commit is contained in:
Martin Kudláček
2020-01-03 20:50:59 +01:00
parent 52cdb5e365
commit 038b9a4fe2
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -44,6 +44,7 @@
*.7z *.7z
*.hex *.hex
*.elf *.elf
*.eep
*.emSession *.emSession
*.depend *.depend
*.layout *.layout
+3 -3
View File
@@ -29,8 +29,8 @@ AVRDUDE_PROGRAMMERID = avrispmkII
AVRDUDE_PORT = /dev/ttyUSB0 AVRDUDE_PORT = /dev/ttyUSB0
# Source locations # Source locations
BACNET_CORE = ../../src BACNET_SRC = ../../src
BACNET_INCLUDE = $(BACNET_CORE) BACNET_CORE = $(BACNET_SRC)/bacnet
BACNET_BASIC = $(BACNET_CORE)/basic BACNET_BASIC = $(BACNET_CORE)/basic
# local files for this project # local files for this project
@@ -72,7 +72,7 @@ CORESRC = \
$(BACNET_CORE)/bacapp.c $(BACNET_CORE)/bacapp.c
## Include Directories ## Include Directories
INCLUDES = -I. -I$(BACNET_INCLUDE) INCLUDES = -I. -I$(BACNET_SRC) -I$(BACNET_CORE)
# Source to Object conversion # Source to Object conversion
COBJ = $(CSRC:.c=.o) COBJ = $(CSRC:.c=.o)
+1 -1
View File
@@ -82,7 +82,7 @@ unsigned Binary_Value_Instance_To_Index(
return index; return index;
} }
static BACNET_BINARY_PV Binary_Value_Present_Value( BACNET_BINARY_PV Binary_Value_Present_Value(
uint32_t object_instance) uint32_t object_instance)
{ {
BACNET_BINARY_PV value = BINARY_INACTIVE; BACNET_BINARY_PV value = BINARY_INACTIVE;