Skip to content

Commit

Permalink
detect whether custom LCD is in use
Browse files Browse the repository at this point in the history
  • Loading branch information
joeycastillo committed Sep 29, 2024
1 parent 6ff71e0 commit c512088
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boards/sensorwatch_blue/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ LDSCRIPT = saml22n18
DEFINES += \
-D__SAML22J18A__ \
-DSTATIC_FREQUENCY_CORRECTION=11 \

ifeq ($(DISPLAY), CUSTOM)
DEFINES += -DUSE_CUSTOM_LCD
endif
4 changes: 4 additions & 0 deletions boards/sensorwatch_green/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ LDSCRIPT = saml22n18
DEFINES += \
-D__SAML22J18A__ \
-DSTATIC_FREQUENCY_CORRECTION=22 \

ifeq ($(DISPLAY), CUSTOM)
DEFINES += -DUSE_CUSTOM_LCD
endif
4 changes: 4 additions & 0 deletions boards/sensorwatch_pro/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ LDSCRIPT = saml22n18

DEFINES += \
-D__SAML22J18A__ \

ifeq ($(DISPLAY), CUSTOM)
DEFINES += -DUSE_CUSTOM_LCD
endif
4 changes: 4 additions & 0 deletions boards/sensorwatch_red/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ LDSCRIPT = saml22n18

DEFINES += \
-D__SAML22J18A__ \

ifeq ($(DISPLAY), CUSTOM)
DEFINES += -DUSE_CUSTOM_LCD
endif

0 comments on commit c512088

Please sign in to comment.