MK4duo V4_4_0 e UBL - errori in compilazione November 08, 2019 07:59PM |
Registered: 8 years ago Posts: 167 |
In file included from sketch/MK4duo.h:165:0, from /tmp/arduino_modified_sketch_784851/MK4duo_4.4.0.ino:352: sketch/src/feature/bedlevel/bedlevel.h: In member function 'xy_pos_t mesh_index_pair::meshpos()': sketch/src/feature/bedlevel/bedlevel.h:60:16: error: 'ubl' was not declared in this scope return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) }; ^~~ sketch/src/feature/bedlevel/bedlevel.h:60:77: error: could not convert '{, }' from '' to 'xy_pos_t {aka XYval}' return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) }; ^
Re: MK4duo V4_4_0 e UBL - errori in compilazione November 09, 2019 07:17AM |
Registered: 11 years ago Posts: 6,409 |
Re: MK4duo V4_4_0 e UBL - errori in compilazione November 09, 2019 10:28AM |
Registered: 8 years ago Posts: 167 |
Re: MK4duo V4_4_0 e UBL - errori in compilazione November 09, 2019 11:47AM |
Registered: 11 years ago Posts: 6,409 |
Re: MK4duo V4_4_0 e UBL - errori in compilazione November 09, 2019 04:36PM |
Registered: 8 years ago Posts: 167 |
Quote
MagoKimbra
Dovrebbe essere apposto, ho fatto svariate prove e compila sempre...
Arduino:1.8.11 (Linux), Scheda:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)" In file included from sketch/MK4duo.h:165:0, from /tmp/arduino_modified_sketch_839008/MK4duo_4.4.0.ino:352: sketch/src/feature/bedlevel/bedlevel.h: In member function 'xy_pos_t mesh_index_pair::meshpos()': sketch/src/feature/bedlevel/bedlevel.h:60:16: error: 'ubl' was not declared in this scope return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) }; ^~~ sketch/src/feature/bedlevel/bedlevel.h:60:77: error: could not convert '{, }' from '' to 'xy_pos_t {aka XYval}' return { ubl.mesh_index_to_xpos(pos.x), ubl.mesh_index_to_ypos(pos.y) }; ^
Quote
MagoKimbra
... Ma sul mega non centra, tu hai il mega??
Lo sketch usa 123932 byte (48%) dello spazio disponibile per i programmi. Il massimo è 253952 byte. Le variabili globali usano 5022 byte (61%) di memoria dinamica, lasciando altri 3170 byte liberi per le variabili locali. Il massimo è 8192 byte.