Clean up trailing whitespace
This commit is contained in:
parent
9b94210394
commit
e0e069c6d8
|
@ -194,7 +194,7 @@ uint16_t max_display_update_time = 0;
|
||||||
DECLARE_MENU_EDIT_TYPE(float, float52);
|
DECLARE_MENU_EDIT_TYPE(float, float52);
|
||||||
DECLARE_MENU_EDIT_TYPE(float, float62);
|
DECLARE_MENU_EDIT_TYPE(float, float62);
|
||||||
DECLARE_MENU_EDIT_TYPE(unsigned long, long5);
|
DECLARE_MENU_EDIT_TYPE(unsigned long, long5);
|
||||||
|
|
||||||
void menu_action_setting_edit_bool(const char* pstr, bool* ptr);
|
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_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));
|
void menu_action_setting_edit_accessor_bool(const char* pstr, bool (*pget)(), void (*pset)(bool));
|
||||||
|
|
|
@ -14,7 +14,7 @@ cmake_minimum_required(VERSION 2.8)
|
||||||
# cmake -G"Unix Makefiles" .. #
|
# cmake -G"Unix Makefiles" .. #
|
||||||
# make #
|
# make #
|
||||||
#====================================================================#
|
#====================================================================#
|
||||||
|
|
||||||
#====================================================================#
|
#====================================================================#
|
||||||
# Download marlin-cmake scriptfiles if not already installed #
|
# Download marlin-cmake scriptfiles if not already installed #
|
||||||
# and add the path to the module path #
|
# 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
|
file(DOWNLOAD https://github.com/tohara/marlin-cmake/archive/${SCRIPT_BRANCH}.tar.gz
|
||||||
${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz SHOW_PROGRESS)
|
${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})
|
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(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)
|
file(REMOVE ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz)
|
||||||
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32 AND NOT EXISTS ${CMAKE_BINARY_DIR}/make.exe)
|
if(WIN32 AND NOT EXISTS ${CMAKE_BINARY_DIR}/make.exe)
|
||||||
|
|
|
@ -115,7 +115,7 @@ module point_markers(show_home=true) {
|
||||||
$fn=8;
|
$fn=8;
|
||||||
rotate([90,0])
|
rotate([90,0])
|
||||||
text(str(z), 6, label_font_lg, halign="center", valign="center");
|
text(str(z), 6, label_font_lg, halign="center", valign="center");
|
||||||
|
|
||||||
translate([0,0,down?-6:6]) rotate([90,0])
|
translate([0,0,down?-6:6]) rotate([90,0])
|
||||||
text(str(down ? "" : "+", v), 3, label_font_sm, halign="center", valign="center");
|
text(str(down ? "" : "+", v), 3, label_font_sm, halign="center", valign="center");
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ for i in range(32):
|
||||||
print " ",
|
print " ",
|
||||||
for j in range(8):
|
for j in range(8):
|
||||||
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
|
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
|
||||||
print
|
print
|
||||||
print "};"
|
print "};"
|
||||||
print
|
print
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ for i in range(32):
|
||||||
print " ",
|
print " ",
|
||||||
for j in range(8):
|
for j in range(8):
|
||||||
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
|
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
|
||||||
print
|
print
|
||||||
print "};"
|
print "};"
|
||||||
print
|
print
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue