Marlin icon indicating copy to clipboard operation
Marlin copied to clipboard

Various fixes: missed code uses, other updates

Open classicrocker883 opened this issue 9 months ago • 0 comments
trafficstars

Description

No real category to put these changes in, so here goes

  • Add FLIP() to missed opportunity placement
  • Remove ; typo from PlatformIO/scripts/STM32F1_create_variant.py
  • ~~Delete redundant share/scripts/languageUtil.py and moved contents into share/scripts/languageExport.py~~ moved to #27752
  • Follow up to #27119, we have forgot to add ProUI definition for Input Shaping - ICON_ShapingZ
    • Added test option including Input Shaping X/Y/Z for ProUI in STM32F103RE_creality
  • Fixes errors and improve on code. ~~for example: added import ... to prevent error of it missing in a .py file.~~
  • lcd/menu/menu_info.cpp: Fix buffer overflow warning increase msg buffer from 21 to 22, removed unused VALUE_ITEM_F Updates and fixes to various files.

Taken from other PR (#27277)

  • Minimal fixes to spacing, comments
  • Update for better readability and proper usage
    • Changes like: #if HAS_LEVELING && HAS_ZOFFSET_ITEM) => #if ALL(HAS_LEVELING, HAS_ZOFFSET_ITEM)
  • Update e3v2 UI's
    • Combine HAS_DWIN_E3V2 into HAS_DISPLAY
    • Remove redundant HAS_UI_UPDATE
  • Rearrange some functions in marlinui.h - group into similar
  • M48.cpp - when using M48 test in ProUI, make screen 'pause' ("NothingToDo")
  • Update CREALITY_V4 in pins.h to include RC board env type.

for printcounter.cpp would have to ask @thinkyhead


- Add FLIP() to missed opportunity placement

in module/tempurature.cpp

- if ((do_buttons ^= true)) ui.update_buttons();

+ if (FLIP(do_buttons)) ui.update_buttons();

Requirements

Benefits

Configurations

Related Issues

classicrocker883 avatar Feb 24 '25 23:02 classicrocker883