Skip to content

Commit

Permalink
Move *_common.h include to prevent NEOPIXEL_PIN redefined warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed Aug 8, 2023
1 parent d4cd5d8 commit 63f0e1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/pins/stm32h7/pins_BTT_OCTOPUS_PRO_V1_0_1.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

#define BOARD_INFO_NAME "OCTOPUS PRO V1.0.1"

#include "pins_BTT_OCTOPUS_PRO_V1_common.h"

//
// Steppers
//
Expand All @@ -40,5 +42,3 @@
#ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN PB0
#endif

#include "pins_BTT_OCTOPUS_PRO_V1_common.h"
4 changes: 2 additions & 2 deletions Marlin/src/pins/stm32h7/pins_BTT_OCTOPUS_PRO_V1_1.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@

#define BOARD_INFO_NAME "BTT OCTOPUS PRO V1.1"

#include "pins_BTT_OCTOPUS_PRO_V1_common.h"

//
// Steppers
//
Expand All @@ -40,5 +42,3 @@
#ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN PB10
#endif

#include "pins_BTT_OCTOPUS_PRO_V1_common.h"

0 comments on commit 63f0e1a

Please sign in to comment.