Skip to content

Commit 77e5af6

Browse files
authored
Update board.h
Fixing comments style
1 parent d975414 commit 77e5af6

File tree

1 file changed

+7
-9
lines changed
  • boards/arm/stm32f7/nucleo-f767zi/include

1 file changed

+7
-9
lines changed

boards/arm/stm32f7/nucleo-f767zi/include/board.h

+7-9
Original file line numberDiff line numberDiff line change
@@ -310,23 +310,21 @@
310310
* has halted.
311311
*/
312312

313-
/* Button definitions *******************************************************/
314-
315-
/* The STM32F7 Discovery supports one button: Pushbutton B1, labeled "User",
313+
/* Button definitions
314+
* The STM32F7 Discovery supports one button: Pushbutton B1, labeled "User",
316315
* is connected to GPIO PI11.
317316
* A high value will be sensed when the button is depressed.
318317
*
319318
* For the external application the following configuration will be used:
320319
*
321-
* ====== ext button SOLUTION =======
320+
* ====== external buttons =======
322321
*
323-
* BT_a --> BTN1 --> BTN_BLUE --> PG9 --> D0 --> CN10
324-
* BT_b --> BTN2 --> BTN_RED --> PG14 --> D1 --> CN10
325-
* BT_b --> BTN3 --> BTN_YELLOW --> PF15 --> D2 --> CN10
326-
* BT_d --> BTN4 --> BTN_GREEN --> PE13 --> D3 --> CN10
322+
* BTN1 -->PG9 -->D0 --> CN10
323+
* BTN2 -->PG14 -->D1 --> CN10
324+
* BTN3 -->PF15 -->D2 --> CN10
325+
* BTN4 -->PE13 -->D3 --> CN10
327326
*/
328327

329-
330328
#define NUM_BUTTONS 4
331329

332330
#define BUTTON_USER1 0

0 commit comments

Comments
 (0)