Skip to content

Commit 992ed2c

Browse files
committed
stm32h7: adc: DUAL_PAD: fix definitions for GENERIC_M4 target
Completes 2e1da01 and fixes arduino/ArduinoCore-mbed#867
1 parent 2d83497 commit 992ed2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_GENERIC_STM32H747_M4/PinNames.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
extern "C" {
4444
#endif
4545

46-
#define DUAL_PAD 0xF00
46+
#define DUAL_PAD 0x800
4747

4848
typedef enum {
4949
ALT0 = 0x100,

Diff for: targets/TARGET_STM/tools/STM32_gen_PeripheralPins.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ def print_header():
491491

492492
if DUAL_PAD:
493493
line_to_write = ("""
494-
#define DUAL_PAD 0xF00
494+
#define DUAL_PAD 0x800
495495
""")
496496
out_h_file.write(line_to_write)
497497

0 commit comments

Comments
 (0)