Browse Source

Fix comments, spacing

Scott Lahteine 4 years ago
parent
commit
be0c9ff705

+ 6
- 6
Marlin/src/HAL/LINUX/pinsDebug.h View File

@@ -26,15 +26,15 @@
26 26
  */
27 27
 
28 28
 #define NUMBER_PINS_TOTAL NUM_DIGITAL_PINS
29
-#define pwm_details(pin) pin = pin    // do nothing  // print PWM details
30
-#define pwm_status(pin) false //Print a pin's PWM status. Return true if it's currently a PWM pin.
31
-#define IS_ANALOG(P) (DIGITAL_PIN_TO_ANALOG_PIN(P) >= 0 ? 1 : 0)
29
+#define pwm_details(pin)    NOOP          // (do nothing)
30
+#define pwm_status(pin)     false         // Print a pin's PWM status. Return true if it's currently a PWM pin.
31
+#define IS_ANALOG(P)        (DIGITAL_PIN_TO_ANALOG_PIN(P) >= 0 ? 1 : 0)
32 32
 #define digitalRead_mod(p)  digitalRead(p)
33 33
 #define PRINT_PORT(p)
34
-#define GET_ARRAY_PIN(p) pin_array[p].pin
34
+#define GET_ARRAY_PIN(p)    pin_array[p].pin
35 35
 #define PRINT_ARRAY_NAME(x) do{ sprintf_P(buffer, PSTR("%-" STRINGIFY(MAX_NAME_LENGTH) "s"), pin_array[x].name); SERIAL_ECHO(buffer); }while(0)
36
-#define PRINT_PIN(p) do{ sprintf_P(buffer, PSTR("%3d "), p); SERIAL_ECHO(buffer); }while(0)
37
-#define MULTI_NAME_PAD 16 // space needed to be pretty if not first name assigned to a pin
36
+#define PRINT_PIN(p)        do{ sprintf_P(buffer, PSTR("%3d "), p); SERIAL_ECHO(buffer); }while(0)
37
+#define MULTI_NAME_PAD  16 // space needed to be pretty if not first name assigned to a pin
38 38
 
39 39
 // active ADC function/mode/code values for PINSEL registers
40 40
 constexpr int8_t ADC_pin_mode(pin_t pin) {

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarm.cpp View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commercially or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liability for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Utility functions and glue for ARM unwinding sub-modules.
13 13
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarm.h View File

@@ -6,7 +6,7 @@
6 6
  * for free and use it as they wish, with or without modifications, and in
7 7
  * any context, commerically or otherwise. The only limitation is that I
8 8
  * don't guarantee that the software is fit for any purpose or accept any
9
- * liablity for it's use or misuse - this software is without warranty.
9
+ * liability for its use or misuse - this software is without warranty.
10 10
  ***************************************************************************
11 11
  * File Description: Internal interface between the ARM unwinding sub-modules.
12 12
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarm_arm.cpp View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commercially or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liability for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Abstract interpreter for ARM mode.
13 13
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarm_thumb.cpp View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commercially or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liability for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Abstract interpretation for Thumb mode.
13 13
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarmbytab.h View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commerically or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liablity for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Interface to the memory tracking sub-system.
13 13
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarmmem.cpp View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commerically or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liablity for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Implementation of the memory tracking sub-system.
13 13
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwarmmem.h View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commerically or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liablity for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Interface to the memory tracking sub-system.
13 13
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwinder.cpp View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commercially or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liability for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Implementation of the interface into the ARM unwinder.
13 13
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwinder.h View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commerically or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liablity for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  **************************************************************************/
12 12
 /** \file
13 13
  * Interface to the ARM stack unwinding module.

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwmemaccess.cpp View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commercially or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liability for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Utility functions to access memory
13 13
  **************************************************************************/

+ 1
- 1
Marlin/src/HAL/shared/backtrace/unwmemaccess.h View File

@@ -7,7 +7,7 @@
7 7
  * for free and use it as they wish, with or without modifications, and in
8 8
  * any context, commerically or otherwise. The only limitation is that I
9 9
  * don't guarantee that the software is fit for any purpose or accept any
10
- * liablity for it's use or misuse - this software is without warranty.
10
+ * liability for its use or misuse - this software is without warranty.
11 11
  ***************************************************************************
12 12
  * File Description: Utility functions to access memory
13 13
  **************************************************************************/

+ 1
- 1
buildroot/share/sublime/MarlinFirmware.sublime-project View File

@@ -11,7 +11,7 @@
11 11
 				".vscode"
12 12
 			],
13 13
 			"binary_file_patterns":
14
-			[ "*.psd", "*.png", "*.jpg", "*.jpeg", "*.bdf", "*.patch", "avrdude_5.*", "*.svg" ],
14
+			[ "*.psd", "*.png", "*.jpg", "*.jpeg", "*.bdf", "*.patch", "avrdude_5.*", "*.svg", "*.bin", "*.woff" ],
15 15
 			"file_exclude_patterns":
16 16
 			[
17 17
 				"Marlin/platformio.ini",

Loading…
Cancel
Save