Browse Source

Chirp followup

vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
48d9a5367b
  1. 19
      Marlin/src/inc/Conditionals_post.h

19
Marlin/src/inc/Conditionals_post.h

@ -1880,15 +1880,6 @@
#if PIN_EXISTS(PHOTOGRAPH) #if PIN_EXISTS(PHOTOGRAPH)
#define HAS_PHOTOGRAPH 1 #define HAS_PHOTOGRAPH 1
#endif #endif
#if PIN_EXISTS(BEEPER) || EITHER(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
#define HAS_BUZZER 1
#if LCD_FEEDBACK_FREQUENCY_DURATION_MS && LCD_FEEDBACK_FREQUENCY_HZ
#define HAS_CHIRP 1
#endif
#endif
#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
#define USE_BEEPER 1
#endif
#if PIN_EXISTS(CASE_LIGHT) && ENABLED(CASE_LIGHT_ENABLE) #if PIN_EXISTS(CASE_LIGHT) && ENABLED(CASE_LIGHT_ENABLE)
#define HAS_CASE_LIGHT 1 #define HAS_CASE_LIGHT 1
#endif #endif
@ -2377,6 +2368,16 @@
#endif #endif
#endif #endif
#if PIN_EXISTS(BEEPER) || EITHER(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
#define HAS_BUZZER 1
#if LCD_FEEDBACK_FREQUENCY_DURATION_MS && LCD_FEEDBACK_FREQUENCY_HZ
#define HAS_CHIRP 1
#endif
#endif
#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
#define USE_BEEPER 1
#endif
/** /**
* Make sure DOGLCD_SCK and DOGLCD_MOSI are defined. * Make sure DOGLCD_SCK and DOGLCD_MOSI are defined.
*/ */

Loading…
Cancel
Save