Trailing whitespace clean
This commit is contained in:
parent
1746a7352e
commit
1c41de16d4
|
@ -95,8 +95,7 @@ void spiBegin (void) {
|
|||
SPSR = spiRate & 1 || spiRate == 6 ? 0 : _BV(SPI2X);
|
||||
}
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
/** SPI receive a byte */
|
||||
uint8_t spiRec(void) {
|
||||
SPDR = 0xFF;
|
||||
|
|
|
@ -777,7 +777,6 @@
|
|||
/** Begin SPI transaction, set clock, bit order, data mode */
|
||||
void spiBeginTransaction(uint32_t spiClock, uint8_t bitOrder, uint8_t dataMode) {
|
||||
// TODO: to be implemented
|
||||
|
||||
}
|
||||
|
||||
#endif // ENABLED(SOFTWARE_SPI)
|
||||
|
|
|
@ -136,7 +136,7 @@ void analogWrite(pin_t pin, int pwm_value) { // 1 - 254: pwm_value, 0: LOW, 255
|
|||
digitalWrite(pin, value);
|
||||
}
|
||||
else {
|
||||
if (LPC1768_PWM_attach_pin(pin, 1, LPC_PWM1->MR0, 0xff))
|
||||
if (LPC1768_PWM_attach_pin(pin, 1, LPC_PWM1->MR0, 0xFF))
|
||||
LPC1768_PWM_write(pin, map(value, 0, 255, 1, LPC_PWM1->MR0)); // map 1-254 onto PWM range
|
||||
else { // out of PWM channels
|
||||
if (!out_of_PWM_slots) MYSERIAL.printf(".\nWARNING - OUT OF PWM CHANNELS\n.\n"); //only warn once
|
||||
|
|
|
@ -108,5 +108,4 @@ void spiBeginTransaction(uint32_t spiClock, uint8_t bitOrder, uint8_t dataMode)
|
|||
SPI.beginTransaction(spiConfig);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
#endif // __MK64FX512__ || __MK66FX1M0__
|
||||
|
|
|
@ -2079,7 +2079,7 @@ void MarlinSettings::reset() {
|
|||
CONFIG_ECHO_START;
|
||||
#if ENABLED(SKEW_CORRECTION_FOR_Z)
|
||||
SERIAL_ECHO(" M852 I");
|
||||
SERIAL_ECHO_F(LINEAR_UNIT(planner.xy_skew_factor),6);
|
||||
SERIAL_ECHO_F(LINEAR_UNIT(planner.xy_skew_factor), 6);
|
||||
SERIAL_ECHOPAIR(" J", LINEAR_UNIT(planner.xz_skew_factor));
|
||||
SERIAL_ECHOLNPAIR(" K", LINEAR_UNIT(planner.yz_skew_factor));
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue