Skip to content

Commit f49160b

Browse files
committed
chore: lowering HSE_VALUE declare.
1 parent 8dab285 commit f49160b

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

Diff for: variants/STM32H5xx/H503RBT/variant_NUCLEO_H503RB.h

+4-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
*
1111
*******************************************************************************
1212
*/
13-
1413
#pragma once
1514

1615
/*----------------------------------------------------------------------------
@@ -157,14 +156,14 @@
157156
#define PIN_SERIAL_TX PA4
158157
#endif
159158

160-
// Value of the HSE Bypass in Hz
161-
#define HSE_VALUE 24000000UL
162-
163159
// Extra HAL modules
164160
#if !defined(HAL_DAC_MODULE_DISABLED)
165161
#define HAL_DAC_MODULE_ENABLED
166162
#endif
167163

164+
// Value of the HSE Bypass in Hz
165+
#define HSE_VALUE 24000000UL
166+
168167
/*----------------------------------------------------------------------------
169168
* Arduino objects - C++ only
170169
*----------------------------------------------------------------------------*/
@@ -191,4 +190,4 @@
191190
#ifndef SERIAL_PORT_HARDWARE
192191
#define SERIAL_PORT_HARDWARE Serial
193192
#endif
194-
#endif
193+
#endif

Diff for: variants/STM32H5xx/H562R(G-I)T/variant_WEACT_H562RG.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,6 @@ P1 P2
222222
#define HAL_SD_MODULE_ENABLED
223223
#endif
224224

225-
#define HSE_VALUE 8000000UL
226-
227225
// SD card slot Definitions
228226
// SDMMC signals not available
229227
#define SDMMC_CDIR_NA
@@ -257,6 +255,8 @@ P1 P2
257255
#define SDX_CK PC12
258256
#endif
259257

258+
#define HSE_VALUE 8000000UL
259+
260260
/*----------------------------------------------------------------------------
261261
* Arduino objects - C++ only
262262
*----------------------------------------------------------------------------*/

Diff for: variants/STM32H5xx/H563Z(G-I)T_H573ZIT/variant_NUCLEO_H563ZI.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@
254254
#define HAL_SD_MODULE_ENABLED
255255
#endif
256256

257-
// Value of the HSE Bypass in Hz
258-
#define HSE_VALUE 8000000U
259-
260257
// Pin UCPD to configure TCPP in default Type-C legacy state (UCPD_DBn for TCPP01)
261258
#define PIN_UCPD_TCPP PA9
262259

260+
// Value of the HSE Bypass in Hz
261+
#define HSE_VALUE 8000000U
262+
263263
/*----------------------------------------------------------------------------
264264
* Arduino objects - C++ only
265265
*----------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)