Add Octoprint Service toggle function and a new confirm message

This commit is contained in:
th33xitus
2020-07-15 21:41:20 +02:00
parent fe27d054f8
commit 45fe688f87
3 changed files with 79 additions and 41 deletions

View File

@@ -105,6 +105,9 @@ advanced_ui(){
top_border
echo -e "| $(title_msg "~~~~~~~~~~~~~ [ Advanced Menu ] ~~~~~~~~~~~~~") | "
hr
echo -e "| 0) $OPRINT_SERVICE_STATUS| "
hr
echo -e "| | "
echo -e "| 1) [Switch Klipper version] | "
echo -e "| | "
echo -e "| 2) [Build Firmware] | "
@@ -113,8 +116,6 @@ advanced_ui(){
echo -e "| 5) [Write Printer-ID to printer.cfg] | "
echo -e "| 6) [Write DWC2-for-klipper config] | "
echo -e "| | "
echo -e "| x) [Enable/Disable Octoprint service] | "
echo -e "| | "
quit_footer
}