File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2169,7 +2169,7 @@ bool SdBaseFile::truncate(uint32_t length) {
2169
2169
* include write() is called before a file has been opened, write is called
2170
2170
* for a read-only file, device is full, a corrupt file system or an I/O error.
2171
2171
*/
2172
- int16_t SdBaseFile::write (const void *buf, uint16_t nbyte) {
2172
+ int16_t SdBaseFile::write (const void *buf, const uint16_t nbyte) {
2173
2173
#if ENABLED(SDCARD_READONLY)
2174
2174
writeError = true ; return -1 ;
2175
2175
#endif
Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ class SdBaseFile {
345
345
* \return SdVolume that contains this file.
346
346
*/
347
347
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);
349
349
350
350
private:
351
351
friend class SdFat ; // allow SdFat to set cwd_
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ opt_enable DWIN_CREALITY_LCD_JYERSUI AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
19
19
exec_test $1 $2 " Ender-3 v2 with JyersUI" " $3 "
20
20
21
21
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
23
23
opt_enable DWIN_LCD_PROUI INDIVIDUAL_AXIS_HOMING_SUBMENU SET_PROGRESS_MANUALLY SET_PROGRESS_PERCENT STATUS_MESSAGE_SCROLLING \
24
24
SOUND_MENU_ITEM PRINTCOUNTER NOZZLE_PARK_FEATURE ADVANCED_PAUSE_FEATURE FILAMENT_RUNOUT_SENSOR \
25
25
BLTOUCH Z_SAFE_HOMING AUTO_BED_LEVELING_UBL MESH_EDIT_MENU \
You can’t perform that action at this time.
0 commit comments