File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 2525#ifndef _SYLDRA_H
2626#define _SYLDRA_H
2727
28- #define _PINNUM (port , pin ) ((port)*32 + (pin))
29-
3028//------------------------------------------------------------------//
3129// LED
3230//------------------------------------------------------------------//
3331#define LEDS_NUMBER 1
34- #define LED_PRIMARY_PIN _PINNUM (0, 17) // AD10 LED
32+ #define LED_PRIMARY_PIN PINNUM (0, 17) // AD10 LED
3533#define LED_STATE_ON 1
3634
3735//------------------------------------------------------------------//
3836// BUTTON
3937//------------------------------------------------------------------//
40- #define BUTTONS_NUMBER 2
41- #define BUTTON_1 _PINNUM(0, 24) // AD20 -- DFU
42- #define BUTTON_2 _PINNUM(1, 00) // AD22 -- FRST
38+ #define BUTTON_DFU PINNUM(0, 24) // AD20 -- DFU
39+ #define BUTTON_DFU_OTA PINNUM(1, 00) // AD22 -- OTA
4340
4441#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4542
46-
4743//-------------------------------------------------------------------//
4844// BLE OTA
4945//-------------------------------------------------------------------//
5046#define BLEDIS_MANUFACTURER "Ambraglow-&-localcc"
5147#define BLEDIS_MODEL "Syldra_dev_r1"
5248
53-
5449//--------------------------------------------------------------------+
5550// USB - using test PIDs
5651//--------------------------------------------------------------------+
You can’t perform that action at this time.
0 commit comments