mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-31 03:40:33 -07:00
🩹 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:
parent
2bf56b00d4
commit
a3434de2e6
1 changed files with 7 additions and 1 deletions
|
|
@ -21,7 +21,13 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#include "env_validate.h"
|
||||
// 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"
|
||||
#else
|
||||
#include "../stm32h7/env_validate.h"
|
||||
#endif
|
||||
|
||||
#define HAS_OTG_USB_HOST_SUPPORT // USB Flash Drive support
|
||||
#define USES_DIAG_JUMPERS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue