Skip to content

Commit

Permalink
fix: hc32 env_validate failing preflight checks
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow578 committed Mar 26, 2024
1 parent 9e879a5 commit 51ae8ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/pins/hc32f4/env_validate.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#ifndef ENV_VALIDATE_H
#define ENV_VALIDATE_H

#ifndef ARDUINO_ARCH_HC32
#error "Oops! Select an HC32F460 board in 'Tools > Board.'"
#if NOT_TARGET(ARDUINO_ARCH_HC32)
#error "Oops! Make sure you have a HC32F460 environment selected."
#endif

#endif

0 comments on commit 51ae8ba

Please sign in to comment.