Skip to content
Snippets Groups Projects
Commit 52f23fad authored by Daniel Friesel's avatar Daniel Friesel
Browse files

Makefile: Set correct resistor4_pin for resistive_load

parent 4065d4f5
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ ifneq ($(findstring resistive_load,${drivers}), ) ...@@ -135,7 +135,7 @@ ifneq ($(findstring resistive_load,${drivers}), )
resistor1_pin ?= p3_0 resistor1_pin ?= p3_0
resistor2_pin ?= p3_1 resistor2_pin ?= p3_1
resistor3_pin ?= p3_2 resistor3_pin ?= p3_2
resistor4_pin ?= p3_4 resistor4_pin ?= p3_3
COMMON_FLAGS += -DDRIVER_RESISTIVE_LOAD COMMON_FLAGS += -DDRIVER_RESISTIVE_LOAD
COMMON_FLAGS += -DRESISTIVE_LOAD_PIN1=GPIO::${resistor1_pin} COMMON_FLAGS += -DRESISTIVE_LOAD_PIN1=GPIO::${resistor1_pin}
COMMON_FLAGS += -DRESISTIVE_LOAD_PIN2=GPIO::${resistor2_pin} COMMON_FLAGS += -DRESISTIVE_LOAD_PIN2=GPIO::${resistor2_pin}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment