Skip to content

Commit 9097cf2

Browse files
committed
test for embedding
1 parent c4040fa commit 9097cf2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Marlin/src/sd/SdBaseFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2169,7 +2169,7 @@ bool SdBaseFile::truncate(uint32_t length) {
21692169
* include write() is called before a file has been opened, write is called
21702170
* for a read-only file, device is full, a corrupt file system or an I/O error.
21712171
*/
2172-
int16_t SdBaseFile::write(const void *buf, uint16_t nbyte) {
2172+
int16_t SdBaseFile::write(const void *buf, const uint16_t nbyte) {
21732173
#if ENABLED(SDCARD_READONLY)
21742174
writeError = true; return -1;
21752175
#endif

Marlin/src/sd/SdBaseFile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class SdBaseFile {
345345
* \return SdVolume that contains this file.
346346
*/
347347
SdVolume* volume() const { return vol_; }
348-
int16_t write(const void *buf, uint16_t nbyte);
348+
int16_t write(const void *buf, const uint16_t nbyte);
349349

350350
private:
351351
friend class SdFat; // allow SdFat to set cwd_

buildroot/tests/STM32F103RE_creality

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ opt_enable DWIN_CREALITY_LCD_JYERSUI AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
1919
exec_test $1 $2 "Ender-3 v2 with JyersUI" "$3"
2020

2121
use_example_configs "Creality/Ender-3 S1/STM32F1"
22-
opt_disable DWIN_CREALITY_LCD Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN AUTO_BED_LEVELING_BILINEAR CONFIGURATION_EMBEDDING CANCEL_OBJECTS FWRETRACT
22+
opt_disable DWIN_CREALITY_LCD Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN AUTO_BED_LEVELING_BILINEAR CANCEL_OBJECTS FWRETRACT
2323
opt_enable DWIN_LCD_PROUI INDIVIDUAL_AXIS_HOMING_SUBMENU SET_PROGRESS_MANUALLY SET_PROGRESS_PERCENT STATUS_MESSAGE_SCROLLING \
2424
SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \
2525
BLTOUCH Z_SAFE_HOMING AUTO_BED_LEVELING_UBL MESH_EDIT_MENU \

0 commit comments

Comments
 (0)