DS18x20: DS18S20 support, bugfixes (#255)
This commit is contained in:
parent
5b12ba54dc
commit
5a14ab31e4
2 changed files with 39 additions and 13 deletions
|
|
@ -6,4 +6,10 @@ INC_DIRS += $(ds18b20_ROOT)..
|
|||
# args for passing into compile rule generation
|
||||
ds18b20_SRC_DIR = $(ds18b20_ROOT)
|
||||
|
||||
# users can override this setting and get console debug output
|
||||
DS18B20_DEBUG ?= 0
|
||||
ifeq ($(DS18B20_DEBUG),1)
|
||||
ds18b20_CFLAGS = $(CFLAGS) -DDS18B20_DEBUG
|
||||
endif
|
||||
|
||||
$(eval $(call component_compile_rules,ds18b20))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue