fix: 新增裝置辨別, 避免重覆定義
This commit is contained in:
@@ -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__
|
||||
|
||||
Reference in New Issue
Block a user