mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-16 04:41:36 +08:00
nxp_mr-canhubk:Catch periphclocks size mismatch
This commit is contained in:
@@ -104,7 +104,7 @@ __BEGIN_DECLS
|
|||||||
|
|
||||||
/* User peripheral configuration structure 0 */
|
/* User peripheral configuration structure 0 */
|
||||||
|
|
||||||
extern const struct peripheral_clock_config_s g_peripheral_clockconfig0[];
|
extern const struct peripheral_clock_config_s g_peripheral_clockconfig0[NUM_OF_PERIPHERAL_CLOCKS_0];
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Function Prototypes
|
* Public Function Prototypes
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
* This is needed to establish the initial peripheral clocking.
|
* This is needed to establish the initial peripheral clocking.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const struct peripheral_clock_config_s g_peripheral_clockconfig0[] = {
|
const struct peripheral_clock_config_s g_peripheral_clockconfig0[NUM_OF_PERIPHERAL_CLOCKS_0] = {
|
||||||
{
|
{
|
||||||
.clkname = FLEXCAN0_CLK,
|
.clkname = FLEXCAN0_CLK,
|
||||||
#ifdef CONFIG_S32K3XX_FLEXCAN0
|
#ifdef CONFIG_S32K3XX_FLEXCAN0
|
||||||
|
|||||||
Reference in New Issue
Block a user