From a2b0260f0f9544c87c276a7b23272bd9307dd1fa Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 23 Sep 2018 19:58:36 -0400 Subject: [PATCH] Update Sublime files --- Marlin/src/lcd/ultralcd.cpp | 1 - Marlin/src/module/probe.cpp | 6 ++---- .../sublime/MarlinFirmware.sublime-project | 21 ++++++++++--------- .../sublime/RepRapTools/G-Code.sublime-syntax | 1 + 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/Marlin/src/lcd/ultralcd.cpp b/Marlin/src/lcd/ultralcd.cpp index c18ed1fb3b..34dc1c8cc5 100644 --- a/Marlin/src/lcd/ultralcd.cpp +++ b/Marlin/src/lcd/ultralcd.cpp @@ -71,7 +71,6 @@ #include "../feature/leds/leds.h" #endif -// For i2c define BUZZ to use lcd_buzz #if DISABLED(LCD_USE_I2C_BUZZER) #include "../libs/buzzer.h" #endif diff --git a/Marlin/src/module/probe.cpp b/Marlin/src/module/probe.cpp index 43357d621d..29330de230 100644 --- a/Marlin/src/module/probe.cpp +++ b/Marlin/src/module/probe.cpp @@ -447,10 +447,8 @@ bool set_probe_deployed(const bool deploy) { do_probe_raise(Z_CLEARANCE_DEPLOY_PROBE); - #if PIN_EXISTS(BEEPER) || ENABLED(LCD_USE_I2C_BUZZER) - BUZZ(100, 659); - BUZZ(100, 698); - #endif + BUZZ(100, 659); + BUZZ(100, 698); const char * const ds_str = deploy ? PSTR(MSG_MANUAL_DEPLOY) : PSTR(MSG_MANUAL_STOW); lcd_setalertstatusPGM(ds_str); diff --git a/buildroot/share/sublime/MarlinFirmware.sublime-project b/buildroot/share/sublime/MarlinFirmware.sublime-project index e4e362cd16..ba1111f41c 100644 --- a/buildroot/share/sublime/MarlinFirmware.sublime-project +++ b/buildroot/share/sublime/MarlinFirmware.sublime-project @@ -2,6 +2,17 @@ "folders": [ { + "folder_exclude_patterns": + [ + ".pio*", + "MarlinFirmware/lib", + "Marlin/lib", + "datatmp", + "Marlin/*/src", + ".vscode" + ], + "binary_file_patterns": + [ "*.png", "*.jpg", "*.jpeg", "*.bdf", "*.patch", "avrdude_5.*", "*.svg" ], "file_exclude_patterns": [ "Marlin/platformio.ini", @@ -11,16 +22,6 @@ "Marlin/*/.travis.yml", "Marlin/*/.gitignore" ], - "folder_exclude_patterns": - [ - ".pio*", - "MarlinFirmware/lib", - "Marlin/lib", - "src/lib", - "datatmp", - "Marlin/*/src", - ".vscode" - ], "path": "../../.." } ] diff --git a/buildroot/share/sublime/RepRapTools/G-Code.sublime-syntax b/buildroot/share/sublime/RepRapTools/G-Code.sublime-syntax index ab1b499710..35be0adfec 100644 --- a/buildroot/share/sublime/RepRapTools/G-Code.sublime-syntax +++ b/buildroot/share/sublime/RepRapTools/G-Code.sublime-syntax @@ -2,6 +2,7 @@ --- # # G-Code (RepRap, not ISO-6983) +# Author: @thinkyhead # # RapRap G-Code is very simple. #