🩹 Fix MCU check for STM32H7-based BTT Octopus Pro V1 (#26831)
* 🩹 Fix MCU check for STM32H7-based BTT Octopus Pro V1 Co-authored-by: ellensp <530024+ellensp@users.noreply.github.com> * Update Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h --------- Co-authored-by: ellensp <530024+ellensp@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,13 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
// The Octopus Pro V1 has shipped with both STM32F4 and STM32H7 MCUs.
|
||||||
|
// Ensure the correct env_validate.h file is included based on the build environment used.
|
||||||
|
#if NOT_TARGET(STM32H7)
|
||||||
#include "env_validate.h"
|
#include "env_validate.h"
|
||||||
|
#else
|
||||||
|
#include "../stm32h7/env_validate.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define HAS_OTG_USB_HOST_SUPPORT // USB Flash Drive support
|
#define HAS_OTG_USB_HOST_SUPPORT // USB Flash Drive support
|
||||||
#define USES_DIAG_JUMPERS
|
#define USES_DIAG_JUMPERS
|
||||||
|
Reference in New Issue
Block a user