Browse Source

General cleanup

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
74c509d36e
  1. 2
      Marlin/src/feature/bedlevel/abl/abl.cpp
  2. 4
      Marlin/src/feature/power_monitor.cpp
  3. 4
      Marlin/src/feature/power_monitor.h
  4. 4
      Marlin/src/gcode/feature/controllerfan/M710.cpp
  5. 4
      Marlin/src/gcode/feature/power_monitor/M430.cpp
  6. 4
      Marlin/src/lcd/menu/menu_power_monitor.cpp
  7. 2
      Marlin/src/pins/ramps/pins_RAMPS_S_12.h
  8. 4
      Marlin/src/pins/stm32f1/pins_FLSUN_HISPEED.h

2
Marlin/src/feature/bedlevel/abl/abl.cpp

@ -168,7 +168,7 @@ void print_bilinear_leveling_grid() {
// cancelled out in bed_level_virt_cmr and does not impact the result. Return 0.0 rather than
// making this function more complex by extrapolating two points.
return 0.0;
}
}
if (!x || x == ABL_TEMP_POINTS_X - 1) {
if (x) {
ep = GRID_MAX_POINTS_X - 1;

4
Marlin/src/feature/power_monitor.cpp

@ -1,9 +1,9 @@
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

4
Marlin/src/feature/power_monitor.h

@ -1,9 +1,9 @@
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

4
Marlin/src/gcode/feature/controllerfan/M710.cpp

@ -1,9 +1,9 @@
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

4
Marlin/src/gcode/feature/power_monitor/M430.cpp

@ -1,9 +1,9 @@
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

4
Marlin/src/lcd/menu/menu_power_monitor.cpp

@ -1,9 +1,9 @@
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by

2
Marlin/src/pins/ramps/pins_RAMPS_S_12.h

@ -263,7 +263,7 @@
#ifndef SD_DETECT_PIN
#define SD_DETECT_PIN 38
#endif
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif

4
Marlin/src/pins/stm32f1/pins_FLSUN_HISPEED.h

@ -243,7 +243,7 @@
#endif
// Use the on-board card socket labeled SD_Extender
#if SD_CONNECTION_IS(CUSTOM_CABLE)
#if SD_CONNECTION_IS(CUSTOM_CABLE)
#define SCK_PIN PC12
#define MISO_PIN PC8
#define MOSI_PIN PD2
@ -300,7 +300,7 @@
#define FSMC_DMA_CHANNEL DMA_CH5
#define TFT_BUFFER_SIZE 14400
#if ENABLED(TFT_CLASSIC_UI)
#if ENABLED(TFT_CLASSIC_UI)
#define TFT_MARLINBG_COLOR 0x3186 // White
#define TFT_MARLINUI_COLOR 0xC7B6 // green
#define TFT_BTARROWS_COLOR 0xDEE6 // Yellow

Loading…
Cancel
Save