Skip to content

Commit 8d102d6

Browse files
authored
Merge branch 'bugfix-2.1.x' into bugfix-2.1.x
2 parents 3ec66c1 + 05e67a9 commit 8d102d6

File tree

12 files changed

+16
-46240
lines changed

12 files changed

+16
-46240
lines changed

Marlin/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* here we define this default string as the date where the latest release
4242
* version was tagged.
4343
*/
44-
//#define STRING_DISTRIBUTION_DATE "2024-12-16"
44+
//#define STRING_DISTRIBUTION_DATE "2024-12-17"
4545

4646
/**
4747
* The protocol for communication to the host. Protocol indicates communication

Marlin/src/inc/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* version was tagged.
4343
*/
4444
#ifndef STRING_DISTRIBUTION_DATE
45-
#define STRING_DISTRIBUTION_DATE "2024-12-16"
45+
#define STRING_DISTRIBUTION_DATE "2024-12-17"
4646
#endif
4747

4848
/**

Marlin/src/lcd/menu/menu_probe_level.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,9 @@
4444
#include "../../feature/babystep.h"
4545
#endif
4646

47-
#if HAS_GRAPHICAL_TFT
47+
#if ALL(TOUCH_SCREEN, HAS_GRAPHICAL_TFT)
4848
#include "../tft/tft.h"
49-
#if ENABLED(TOUCH_SCREEN)
50-
#include "../tft/touch.h"
51-
#endif
49+
#include "../tft/touch.h"
5250
#endif
5351

5452
#if ENABLED(LCD_BED_LEVELING) && ANY(PROBE_MANUALLY, MESH_BED_LEVELING)

Marlin/src/lcd/menu/menu_x_twist.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636
#define XATC_Y_POSITION ((probe.max_y() - probe.min_y())/2)
3737
#endif
3838

39+
#if ALL(TOUCH_SCREEN, HAS_GRAPHICAL_TFT)
40+
#include "../tft/tft.h"
41+
#include "../tft/touch.h"
42+
#endif
43+
3944
void _goto_manual_move_z(const_float_t);
4045

4146
float measured_z, z_offset;

buildroot/bin/build_all_examples

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ find -ds "$CBASE"/config/examples -type d -name 'Configuration.h' -o -name 'Conf
184184
((CEXPORT)) && CARGS+=("-e" "$CEXPORT")
185185

186186
# Build many environments? Add -m argument
187-
((NOFAIL)) && CARGS+=("-m")
187+
((MANY)) && CARGS+=("-m")
188188

189189
# Continue on fail? Add -f argument
190190
((NOFAIL)) && CARGS+=("-f")

buildroot/bin/build_example

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,22 +211,23 @@ while ((1)); do
211211
# "Index out of range" can fail without an error
212212
((MANY)) && ((ERR == 66)) && ERR=0 && break # "index out of range"
213213

214-
# Short message reporting Error or Success
215-
((ERR)) && alrt "Failed ($ERR)" || annc "Success"
216-
217214
set -e
218215

219216
if [[ $ERR -gt 0 ]]; then
220217

218+
alrt "Failed ($ERR)"
219+
221220
# Error? For --nofail simply log. Otherwise return the error.
222221
if [[ -n $NOFAIL ]]; then
223-
date +"%F %T [FAIL] $CONFIG" >>./.pio/error-log.txt
222+
date +"%F %T [FAIL] $CONFIG ($BUILDINDEX)" >>./.pio/error-log.txt
224223
else
225224
exit $ERR
226225
fi
227226

228227
else
229228

229+
annc "Success"
230+
230231
# Copy exports back to the configs
231232
if [[ -n $EXPNUM ]]; then
232233
annc "Exporting $EXPNUM"

buildroot/share/PlatformIO/scripts/signature.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def tryint(key):
364364
with config_h.open('w') as outfile:
365365
filegrp = { 'Configuration.h':'config:basic', 'Configuration_adv.h':'config:advanced' }
366366
vers = build_defines["CONFIGURATION_H_VERSION"]
367-
dt_string = datetime.now().strftime("%Y-%m-%d at %H:%M:%S")
367+
dt_string = datetime.utcnow().strftime("%Y-%m-%d at %H:%M:%S")
368368

369369
out_text = f'''/**
370370
* Config.h - Marlin Firmware distilled configuration

0 commit comments

Comments
 (0)