Skip to content

Commit

Permalink
[modules] temp_temod: fix TEMOD_I2C_DEV
Browse files Browse the repository at this point in the history
thanks @philipan
  • Loading branch information
flixr committed Dec 30, 2015
1 parent 7c4f980 commit 9da6d3c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions conf/modules/temp_temod.xml
Expand Up @@ -14,12 +14,12 @@
<event fun="temod_event()"/>
<makefile target="ap">
<raw>
TEMOD_DEV ?= i2c0
TEMOD_DEV_LOWER=$(shell echo $(TEMOD_DEV) | tr A-Z a-z)
TEMOD_DEV_UPPER=$(shell echo $(TEMOD_DEV) | tr a-z A-Z)
TEMOD_I2C_DEV ?= i2c0
TEMOD_I2C_DEV_LOWER=$(shell echo $(TEMOD_I2C_DEV) | tr A-Z a-z)
TEMOD_I2C_DEV_UPPER=$(shell echo $(TEMOD_I2C_DEV) | tr a-z A-Z)
</raw>
<define name="USE_$(TEMOD_DEV_UPPER)"/>
<define name="TEMOD_DEV" value="$(TEMOD_DEV_LOWER)"/>
<define name="USE_$(TEMOD_I2C_DEV_UPPER)"/>
<define name="TEMOD_I2C_DEV" value="$(TEMOD_I2C_DEV_LOWER)"/>
<file name="temp_temod.c"/>
</makefile>
</module>
Expand Down

0 comments on commit 9da6d3c

Please sign in to comment.