fix: 新增裝置辨別, 避免重覆定義

This commit is contained in:
chain40
2024-05-21 22:51:57 +08:00
parent b3d1a4abd3
commit e2eb731ea1
+3
View File
@@ -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__