General cleanup
This commit is contained in:
parent
8fd8772a6f
commit
fd35d1b8a6
@ -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
|
// 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.
|
// making this function more complex by extrapolating two points.
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
if (!x || x == ABL_TEMP_POINTS_X - 1) {
|
if (!x || x == ABL_TEMP_POINTS_X - 1) {
|
||||||
if (x) {
|
if (x) {
|
||||||
ep = GRID_MAX_POINTS_X - 1;
|
ep = GRID_MAX_POINTS_X - 1;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* 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.
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* 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.
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* 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.
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* 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.
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* Marlin 3D Printer Firmware
|
* 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.
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -263,7 +263,7 @@
|
|||||||
#ifndef SD_DETECT_PIN
|
#ifndef SD_DETECT_PIN
|
||||||
#define SD_DETECT_PIN 38
|
#define SD_DETECT_PIN 38
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
||||||
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
|
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
|
||||||
#endif
|
#endif
|
||||||
|
@ -243,7 +243,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Use the on-board card socket labeled SD_Extender
|
// 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 SCK_PIN PC12
|
||||||
#define MISO_PIN PC8
|
#define MISO_PIN PC8
|
||||||
#define MOSI_PIN PD2
|
#define MOSI_PIN PD2
|
||||||
@ -300,7 +300,7 @@
|
|||||||
#define FSMC_DMA_CHANNEL DMA_CH5
|
#define FSMC_DMA_CHANNEL DMA_CH5
|
||||||
|
|
||||||
#define TFT_BUFFER_SIZE 14400
|
#define TFT_BUFFER_SIZE 14400
|
||||||
#if ENABLED(TFT_CLASSIC_UI)
|
#if ENABLED(TFT_CLASSIC_UI)
|
||||||
#define TFT_MARLINBG_COLOR 0x3186 // White
|
#define TFT_MARLINBG_COLOR 0x3186 // White
|
||||||
#define TFT_MARLINUI_COLOR 0xC7B6 // green
|
#define TFT_MARLINUI_COLOR 0xC7B6 // green
|
||||||
#define TFT_BTARROWS_COLOR 0xDEE6 // Yellow
|
#define TFT_BTARROWS_COLOR 0xDEE6 // Yellow
|
||||||
|
Loading…
Reference in New Issue
Block a user