Bladeren bron

Chirp followup

Scott Lahteine 4 jaren geleden
bovenliggende
commit
48d9a5367b
1 gewijzigde bestanden met toevoegingen van 10 en 9 verwijderingen
  1. 10
    9
      Marlin/src/inc/Conditionals_post.h

+ 10
- 9
Marlin/src/inc/Conditionals_post.h Bestand weergeven

@@ -1880,15 +1880,6 @@
1880 1880
 #if PIN_EXISTS(PHOTOGRAPH)
1881 1881
   #define HAS_PHOTOGRAPH 1
1882 1882
 #endif
1883
-#if PIN_EXISTS(BEEPER) || EITHER(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
1884
-  #define HAS_BUZZER 1
1885
-  #if LCD_FEEDBACK_FREQUENCY_DURATION_MS && LCD_FEEDBACK_FREQUENCY_HZ
1886
-    #define HAS_CHIRP 1
1887
-  #endif
1888
-#endif
1889
-#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
1890
-  #define USE_BEEPER 1
1891
-#endif
1892 1883
 #if PIN_EXISTS(CASE_LIGHT) && ENABLED(CASE_LIGHT_ENABLE)
1893 1884
   #define HAS_CASE_LIGHT 1
1894 1885
 #endif
@@ -2377,6 +2368,16 @@
2377 2368
   #endif
2378 2369
 #endif
2379 2370
 
2371
+#if PIN_EXISTS(BEEPER) || EITHER(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
2372
+  #define HAS_BUZZER 1
2373
+  #if LCD_FEEDBACK_FREQUENCY_DURATION_MS && LCD_FEEDBACK_FREQUENCY_HZ
2374
+    #define HAS_CHIRP 1
2375
+  #endif
2376
+#endif
2377
+#if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER, PCA9632_BUZZER)
2378
+  #define USE_BEEPER 1
2379
+#endif
2380
+
2380 2381
 /**
2381 2382
  * Make sure DOGLCD_SCK and DOGLCD_MOSI are defined.
2382 2383
  */

Laden…
Annuleren
Opslaan