Skip to content

Commit

Permalink
Fix MCU check for STM32H7-based BTT Octopus Pro V1
Browse files Browse the repository at this point in the history
Co-authored-by: ellensp <530024+ellensp@users.noreply.github.com>
  • Loading branch information
thisiskeithb and ellensp committed Mar 2, 2024
1 parent e6cda99 commit 0297868
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Marlin/src/pins/stm32f4/pins_BTT_OCTOPUS_V1_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
*/
#pragma once

#include "env_validate.h"
#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
Expand Down

0 comments on commit 0297868

Please sign in to comment.