Benachrichtigungen
Alles löschen
Report Long Filename to Octoprint
I made a very simple firmware change to report the long filename to Octoprint for monitoring. I start prints from the printer, but I use Octoprint and Octoslack to monitor, and the 8.3 filename was bugging me.
It's so simple it seems silly to even post the code, but here it is anyway:
Firmware/cardreader.cpp- getfilename(0, fname);
Firmware/cardreader.cpp: SERIAL_PROTOCOLRPGM(_N("File opened: "));////MSG_SD_FILE_OPENED
Firmware/cardreader.cpp- //SERIAL_PROTOCOL(fname);
Firmware/cardreader.cpp- SERIAL_PROTOCOL(longFilename[0] ? longFilename : fname);
Veröffentlicht : 16/05/2020 1:27 pm
RE: Report Long Filename to Octoprint
This is a great fix. Have you posted it to the Prusa github pages for incorporation into upcoming releases?
Veröffentlicht : 16/05/2020 5:21 pm
Themenstarter answered:
RE: Report Long Filename to Octoprint
@bobstro
Not yet. It would be my first time submitting something, so I'll have to look up how to do it, once I have time.
Veröffentlicht : 16/05/2020 5:41 pm
Themenstarter answered:
RE: Report Long Filename to Octoprint
OK, I figured it out, I think.
Veröffentlicht : 17/05/2020 10:57 am