Skip to content

Commit 5bb68e6

Browse files
committed
sync master
1 parent 1069753 commit 5bb68e6

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/boards/syldra/board.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,32 +25,27 @@
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
//--------------------------------------------------------------------+

0 commit comments

Comments
 (0)