Fix comments, spacing
This commit is contained in:
parent
3f644b6275
commit
be0c9ff705
|
@ -26,15 +26,15 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define NUMBER_PINS_TOTAL NUM_DIGITAL_PINS
|
#define NUMBER_PINS_TOTAL NUM_DIGITAL_PINS
|
||||||
#define pwm_details(pin) pin = pin // do nothing // print PWM details
|
#define pwm_details(pin) NOOP // (do nothing)
|
||||||
#define pwm_status(pin) false //Print a pin's PWM status. Return true if it's currently a PWM pin.
|
#define pwm_status(pin) false // Print a pin's PWM status. Return true if it's currently a PWM pin.
|
||||||
#define IS_ANALOG(P) (DIGITAL_PIN_TO_ANALOG_PIN(P) >= 0 ? 1 : 0)
|
#define IS_ANALOG(P) (DIGITAL_PIN_TO_ANALOG_PIN(P) >= 0 ? 1 : 0)
|
||||||
#define digitalRead_mod(p) digitalRead(p)
|
#define digitalRead_mod(p) digitalRead(p)
|
||||||
#define PRINT_PORT(p)
|
#define PRINT_PORT(p)
|
||||||
#define GET_ARRAY_PIN(p) pin_array[p].pin
|
#define GET_ARRAY_PIN(p) pin_array[p].pin
|
||||||
#define PRINT_ARRAY_NAME(x) do{ sprintf_P(buffer, PSTR("%-" STRINGIFY(MAX_NAME_LENGTH) "s"), pin_array[x].name); SERIAL_ECHO(buffer); }while(0)
|
#define PRINT_ARRAY_NAME(x) do{ sprintf_P(buffer, PSTR("%-" STRINGIFY(MAX_NAME_LENGTH) "s"), pin_array[x].name); SERIAL_ECHO(buffer); }while(0)
|
||||||
#define PRINT_PIN(p) do{ sprintf_P(buffer, PSTR("%3d "), p); SERIAL_ECHO(buffer); }while(0)
|
#define PRINT_PIN(p) do{ sprintf_P(buffer, PSTR("%3d "), p); SERIAL_ECHO(buffer); }while(0)
|
||||||
#define MULTI_NAME_PAD 16 // space needed to be pretty if not first name assigned to a pin
|
#define MULTI_NAME_PAD 16 // space needed to be pretty if not first name assigned to a pin
|
||||||
|
|
||||||
// active ADC function/mode/code values for PINSEL registers
|
// active ADC function/mode/code values for PINSEL registers
|
||||||
constexpr int8_t ADC_pin_mode(pin_t pin) {
|
constexpr int8_t ADC_pin_mode(pin_t pin) {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commercially or otherwise. The only limitation is that I
|
* any context, commercially or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liability for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Utility functions and glue for ARM unwinding sub-modules.
|
* File Description: Utility functions and glue for ARM unwinding sub-modules.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commerically or otherwise. The only limitation is that I
|
* any context, commerically or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liablity for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Internal interface between the ARM unwinding sub-modules.
|
* File Description: Internal interface between the ARM unwinding sub-modules.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commercially or otherwise. The only limitation is that I
|
* any context, commercially or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liability for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Abstract interpreter for ARM mode.
|
* File Description: Abstract interpreter for ARM mode.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commercially or otherwise. The only limitation is that I
|
* any context, commercially or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liability for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Abstract interpretation for Thumb mode.
|
* File Description: Abstract interpretation for Thumb mode.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commerically or otherwise. The only limitation is that I
|
* any context, commerically or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liablity for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Interface to the memory tracking sub-system.
|
* File Description: Interface to the memory tracking sub-system.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commerically or otherwise. The only limitation is that I
|
* any context, commerically or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liablity for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Implementation of the memory tracking sub-system.
|
* File Description: Implementation of the memory tracking sub-system.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commerically or otherwise. The only limitation is that I
|
* any context, commerically or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liablity for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Interface to the memory tracking sub-system.
|
* File Description: Interface to the memory tracking sub-system.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commercially or otherwise. The only limitation is that I
|
* any context, commercially or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liability for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Implementation of the interface into the ARM unwinder.
|
* File Description: Implementation of the interface into the ARM unwinder.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commerically or otherwise. The only limitation is that I
|
* any context, commerically or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liablity for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
/** \file
|
/** \file
|
||||||
* Interface to the ARM stack unwinding module.
|
* Interface to the ARM stack unwinding module.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commercially or otherwise. The only limitation is that I
|
* any context, commercially or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liability for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Utility functions to access memory
|
* File Description: Utility functions to access memory
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
* for free and use it as they wish, with or without modifications, and in
|
* for free and use it as they wish, with or without modifications, and in
|
||||||
* any context, commerically or otherwise. The only limitation is that I
|
* any context, commerically or otherwise. The only limitation is that I
|
||||||
* don't guarantee that the software is fit for any purpose or accept any
|
* don't guarantee that the software is fit for any purpose or accept any
|
||||||
* liablity for it's use or misuse - this software is without warranty.
|
* liability for its use or misuse - this software is without warranty.
|
||||||
***************************************************************************
|
***************************************************************************
|
||||||
* File Description: Utility functions to access memory
|
* File Description: Utility functions to access memory
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
".vscode"
|
".vscode"
|
||||||
],
|
],
|
||||||
"binary_file_patterns":
|
"binary_file_patterns":
|
||||||
[ "*.psd", "*.png", "*.jpg", "*.jpeg", "*.bdf", "*.patch", "avrdude_5.*", "*.svg" ],
|
[ "*.psd", "*.png", "*.jpg", "*.jpeg", "*.bdf", "*.patch", "avrdude_5.*", "*.svg", "*.bin", "*.woff" ],
|
||||||
"file_exclude_patterns":
|
"file_exclude_patterns":
|
||||||
[
|
[
|
||||||
"Marlin/platformio.ini",
|
"Marlin/platformio.ini",
|
||||||
|
|
Loading…
Reference in a new issue