Merge pull request #3783 from leptun/enable_PRUSA_SN_all_variants

Allow "PRUSA SN" to print the SN in eeprom on all variants
This commit is contained in:
3d-gussner 2022-12-09 14:51:57 +01:00 committed by GitHub
commit 40cc6dcb6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -4283,7 +4283,6 @@ void process_commands()
asm volatile("jmp 0x3E000");
#endif
}
#ifdef PRUSA_SN_SUPPORT
else if (code_seen_P(PSTR("SN"))) { // PRUSA SN
char SN[20];
eeprom_read_block(SN, (uint8_t*)EEPROM_PRUSA_SN, 20);
@ -4292,7 +4291,6 @@ void process_commands()
else
puts(SN);
}
#endif //PRUSA_SN_SUPPORT
else if(code_seen_P(PSTR("Fir"))){ // PRUSA Fir
SERIAL_PROTOCOLLNPGM(FW_VERSION_FULL);