From e2eb731ea195e23c41a7d34a54964298df68d7ee Mon Sep 17 00:00:00 2001 From: chain40 Date: Tue, 21 May 2024 22:51:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=96=B0=E5=A2=9E=E8=A3=9D=E7=BD=AE?= =?UTF-8?q?=E8=BE=A8=E5=88=A5,=20=E9=81=BF=E5=85=8D=E9=87=8D=E8=A6=86?= =?UTF-8?q?=E5=AE=9A=E7=BE=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pel10_io.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pel10_io.h b/pel10_io.h index a457a72..bc667c7 100644 --- a/pel10_io.h +++ b/pel10_io.h @@ -7,6 +7,8 @@ #include "nrf_gpio.h" #include "nrf_spim.h" +#if (DEF_ELITE_MODEL == DEF_PULSE_E_LOAD_01) + #define RELAY1_PIN NRF_GPIO_PIN_MAP(1, 10) #define RELAY2_PIN NRF_GPIO_PIN_MAP(1, 15) @@ -55,5 +57,6 @@ void spim_xfer(uint32_t cs_pin, uint16_t rx_buffer_length); void pel10_io_init(void); +#endif /* ! DEF_ELITE_MODEL */ #endif // !__PULSE_E_LOAD10_H__