Explorar el Código

#define HAS_POWER_SWITCH

Scott Lahteine hace 10 años
padre
commit
92b54aa27e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/Conditionals.h

+ 1
- 1
Marlin/Conditionals.h Ver fichero

272
     #define PS_ON_AWAKE  HIGH
272
     #define PS_ON_AWAKE  HIGH
273
     #define PS_ON_ASLEEP LOW
273
     #define PS_ON_ASLEEP LOW
274
   #endif
274
   #endif
275
-  HAS_POWER_SWITCH = (POWER_SUPPLY > 0 && defined(PS_ON_PIN) && PS_ON_PIN >= 0)
275
+  #define HAS_POWER_SWITCH (POWER_SUPPLY > 0 && defined(PS_ON_PIN) && PS_ON_PIN >= 0)
276
 
276
 
277
   /**
277
   /**
278
    * Temp Sensor defines
278
    * Temp Sensor defines

Loading…
Cancelar
Guardar