* Start or resume a media print by setting the sdprinting flag. * The file browser pre-sort is also purged to free up memory, * since you cannot browse files during active printing. * Used by M24 and anywhere Start / Resume applies. */
| 707 | * Used by M24 and anywhere Start / Resume applies. |
| 708 | */ |
| 709 | void CardReader::startOrResumeFilePrinting() { |
| 710 | if (isMounted()) { |
| 711 | flag.sdprinting = true; |
| 712 | flag.sdprintdone = false; |
| 713 | TERN_(SD_RESORT, flush_presort()); |
| 714 | } |
| 715 | } |
| 716 | |
| 717 | // |
| 718 | // Run tasks upon finishing or aborting a file print. |
no outgoing calls
no test coverage detected