Apply some #ifndef
This commit is contained in:
parent
27c487bab7
commit
06324df072
3 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ void FastIO_init(); // Must be called before using fast io macros
|
|||
|
||||
#define _BV32(b) (1UL << (b))
|
||||
|
||||
#if !defined(PWM)
|
||||
#ifndef PWM
|
||||
#define PWM OUTPUT
|
||||
#endif
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
//#define MIXER_NORMALIZER_DEBUG
|
||||
|
||||
#if !defined(__AVR__) // || DUAL_MIXING_EXTRUDER
|
||||
#ifndef __AVR__ // || DUAL_MIXING_EXTRUDER
|
||||
// Use 16-bit (or fastest) data for the integer mix factors
|
||||
typedef uint_fast16_t mixer_comp_t;
|
||||
typedef uint_fast16_t mixer_accu_t;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#if !defined(STM32F7)
|
||||
#ifndef STM32F7
|
||||
#error "Oops! Select an STM32F7 board in 'Tools > Board.'"
|
||||
#elif HOTENDS > 3 || E_STEPPERS > 3
|
||||
#error "The-Borg supports up to 3 hotends / E-steppers."
|
||||
|
|
Reference in a new issue