mirror of
https://github.com/joeycastillo/second-movement.git
synced 2026-02-04 17:15:33 +00:00
automatically detect temperature sensor
This commit is contained in:
7
Makefile
7
Makefile
@ -12,9 +12,6 @@ GOSSAMER_PATH=gossamer
|
||||
# If you need to force a specific display, set this to the type you want, CLASSIC or CUSTOM
|
||||
FORCE_DISPLAY_TYPE=CLASSIC
|
||||
|
||||
# Which sensor board?
|
||||
SENSOR=NONE
|
||||
|
||||
# End of user configurable options.
|
||||
|
||||
# Support USB features?
|
||||
@ -32,10 +29,6 @@ ifndef BOARD
|
||||
$(error Build failed: BOARD not defined. Use one of the four options below, depending on your hardware:$n$n make BOARD=sensorwatch_red$n make BOARD=sensorwatch_green$n make BOARD=sensorwatch_blue$n make BOARD=sensorwatch_pro$n$n)
|
||||
endif
|
||||
|
||||
ifeq ($(SENSOR), TEMPERATURE)
|
||||
DEFINES += -DTEMPERATURE_BOARD_INSTALLED
|
||||
endif
|
||||
|
||||
ifdef FORCE_DISPLAY_TYPE
|
||||
ifeq ($(FORCE_DISPLAY_TYPE), CUSTOM)
|
||||
DEFINES += -DFORCE_CUSTOM_LCD_TYPE
|
||||
|
||||
Reference in New Issue
Block a user