Pins-related cleanup, formatting
This commit is contained in:
@ -357,7 +357,7 @@ static void pwm_details(uint8_t pin) {
|
||||
// on pins that have two PWMs, print info on second PWM
|
||||
#if AVR_ATmega2560_FAMILY || AVR_AT90USB1286_FAMILY
|
||||
// looking for port B7 - PWMs 0A and 1C
|
||||
if ( ('B' == digitalPinToPort(pin) + 64) && (0x80 == digitalPinToBitMask(pin))) {
|
||||
if (digitalPinToPort(pin) == 2 && digitalPinToBitMask(pin) == 0x80) {
|
||||
#ifndef TEENSYDUINO_IDE
|
||||
SERIAL_PROTOCOLPGM("\n .");
|
||||
SERIAL_PROTOCOL_SP(18);
|
||||
|
@ -41,7 +41,7 @@
|
||||
*
|
||||
* "Marlin_AT90USB" makes PWM0A available rather than the usual PWM1C. These PWMs share
|
||||
* the same physical pin. Marlin uses TIMER1 to generate interrupts and sets it up such
|
||||
* that PWM1A, PWM1B & PWM1C can not be used.
|
||||
* that PWM1A, PWM1B & PWM1C can't be used.
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
|
@ -63,7 +63,7 @@
|
||||
*
|
||||
* "Marlin_AT90USB" makes PWM0A available rather than the usual PWM1C. These PWMs share
|
||||
* the same physical pin. Marlin uses TIMER1 to generate interrupts and sets it up such
|
||||
* that PWM1A, PWM1B & PWM1C can not be used.
|
||||
* that PWM1A, PWM1B & PWM1C can't be used.
|
||||
*
|
||||
* Installation:
|
||||
*
|
||||
|
@ -100,7 +100,7 @@
|
||||
#endif
|
||||
|
||||
#if TEMP_SENSOR_2 == -1
|
||||
#define TEMP_2_PIN 7 // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_BED is defined as thermocouple)
|
||||
#define TEMP_2_PIN 7 // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can't be used when TEMP_SENSOR_BED is defined as thermocouple)
|
||||
#else
|
||||
#define TEMP_2_PIN 13 // Analog Input (default connector for thermistor *T2* on rumba board is used)
|
||||
#endif
|
||||
@ -109,7 +109,7 @@
|
||||
//#define TEMP_X_PIN 12 // Analog Input (default connector for thermistor *T3* on rumba board is used)
|
||||
|
||||
#if TEMP_SENSOR_BED == -1
|
||||
#define TEMP_BED_PIN 7 // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_2 is defined as thermocouple)
|
||||
#define TEMP_BED_PIN 7 // Analog Input (connector *K3* on RUMBA thermocouple ADD ON is used <-- this can't be used when TEMP_SENSOR_2 is defined as thermocouple)
|
||||
#else
|
||||
#define TEMP_BED_PIN 11 // Analog Input (default connector for thermistor *THB* on rumba board is used)
|
||||
#endif
|
||||
|
@ -68,7 +68,7 @@
|
||||
*
|
||||
* NOTE - the "Marlin_AT90USB" pin maps make PWM0A available rather than the usual PWM1C.
|
||||
* These PWMs share the same physical pin. Marlin uses TIMER1 to generate
|
||||
* interrupts and sets it up such that PWM1A, PWM1B & PWM1C can not be used.
|
||||
* interrupts and sets it up such that PWM1A, PWM1B & PWM1C can't be used.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user