Browse Source

Clean up trailing whitespace

pull/1/head
Scott Lahteine 8 years ago
parent
commit
e0e069c6d8
  1. 2
      Marlin/ultralcd.cpp
  2. 10
      buildroot/share/cmake/CMakeLists.txt
  3. 2
      buildroot/share/scripts/MarlinMesh.scad
  4. 4
      buildroot/share/scripts/createSpeedLookupTable.py

2
Marlin/ultralcd.cpp

@ -194,7 +194,7 @@ uint16_t max_display_update_time = 0;
DECLARE_MENU_EDIT_TYPE(float, float52);
DECLARE_MENU_EDIT_TYPE(float, float62);
DECLARE_MENU_EDIT_TYPE(unsigned long, long5);
void menu_action_setting_edit_bool(const char* pstr, bool* ptr);
void menu_action_setting_edit_callback_bool(const char* pstr, bool* ptr, screenFunc_t callbackFunc);
void menu_action_setting_edit_accessor_bool(const char* pstr, bool (*pget)(), void (*pset)(bool));

10
buildroot/share/cmake/CMakeLists.txt

@ -14,7 +14,7 @@ cmake_minimum_required(VERSION 2.8)
# cmake -G"Unix Makefiles" .. #
# make #
#====================================================================#
#====================================================================#
# Download marlin-cmake scriptfiles if not already installed #
# and add the path to the module path #
@ -26,13 +26,13 @@ if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake)
file(DOWNLOAD https://github.com/tohara/marlin-cmake/archive/${SCRIPT_BRANCH}.tar.gz
${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz SHOW_PROGRESS)
execute_process(COMMAND ${CMAKE_COMMAND} -E tar -xvf ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
file(RENAME ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-${SCRIPT_BRANCH} ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake)
file(REMOVE ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz)
endif()
if(WIN32 AND NOT EXISTS ${CMAKE_BINARY_DIR}/make.exe)

2
buildroot/share/scripts/MarlinMesh.scad

@ -115,7 +115,7 @@ module point_markers(show_home=true) {
$fn=8;
rotate([90,0])
text(str(z), 6, label_font_lg, halign="center", valign="center");
translate([0,0,down?-6:6]) rotate([90,0])
text(str(down ? "" : "+", v), 3, label_font_sm, halign="center", valign="center");
}

4
buildroot/share/scripts/createSpeedLookupTable.py

@ -30,7 +30,7 @@ for i in range(32):
print " ",
for j in range(8):
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
print
print
print "};"
print
@ -42,7 +42,7 @@ for i in range(32):
print " ",
for j in range(8):
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
print
print
print "};"
print

Loading…
Cancel
Save