Rename Sheets

- `Satin 1` to `Satin  `
- `Satin 2` to `NylonPA`
This commit is contained in:
3d-gussner 2022-10-18 10:20:01 +02:00 committed by DRracer
parent e9f5dc7ac5
commit cb5e6d700b
2 changed files with 14 additions and 8 deletions

View File

@ -115,8 +115,8 @@ if (eeprom_read_byte((uint8_t*)EEPROM_PINDA_TEMP_COMPENSATION) == 0xff) eeprom_u
//! | 1 | Smooth2 | //! | 1 | Smooth2 |
//! | 2 | Textur1 | //! | 2 | Textur1 |
//! | 3 | Textur2 | //! | 3 | Textur2 |
//! | 4 | Satin 1 | //! | 4 | Satin |
//! | 5 | Satin 2 | //! | 5 | NylonPA |
//! | 6 | Custom1 | //! | 6 | Custom1 |
//! | 7 | Custom2 | //! | 7 | Custom2 |
//! //!
@ -134,17 +134,23 @@ void eeprom_default_sheet_name(uint8_t index, SheetName &sheetName)
{ {
strcpy_P(sheetName.c, PSTR("Textur")); strcpy_P(sheetName.c, PSTR("Textur"));
} }
else if (index < 6) else if (index < 5)
{ {
strcpy_P(sheetName.c, PSTR("Satin ")); strcpy_P(sheetName.c, PSTR("Satin "));
} }
else if (index < 6)
{
strcpy_P(sheetName.c, PSTR("NylonPA"));
}
else else
{ {
strcpy_P(sheetName.c, PSTR("Custom")); strcpy_P(sheetName.c, PSTR("Custom"));
} }
if (index <4 || index >5)
{
sheetName.c[6] = '0' + ((index % 2)+1); sheetName.c[6] = '0' + ((index % 2)+1);
sheetName.c[7] = '\0'; sheetName.c[7] = '\0';
}
} }
//! @brief Get next initialized sheet //! @brief Get next initialized sheet

View File

@ -275,11 +275,11 @@ static_assert(sizeof(Sheets) == EEPROM_SHEETS_SIZEOF, "Sizeof(Sheets) is not EEP
| 0x0D71 3441 | uint16 | ^ | 00 00h 0 | ff ffh 65535 | 4th sheet - Z offset | ^ | D3 Ax0d71 C2 | 0x0D71 3441 | uint16 | ^ | 00 00h 0 | ff ffh 65535 | 4th sheet - Z offset | ^ | D3 Ax0d71 C2
| 0x0D73 3443 | uint8 | ^ | 00h 0 | ffh 255 | 4th sheet - bed temp | ^ | D3 Ax0d73 C1 | 0x0D73 3443 | uint8 | ^ | 00h 0 | ffh 255 | 4th sheet - bed temp | ^ | D3 Ax0d73 C1
| 0x0D74 3444 | uint8 | ^ | 00h 0 | ffh 255 | 4th sheet - PINDA temp | ^ | D3 Ax0d74 C1 | 0x0D74 3444 | uint8 | ^ | 00h 0 | ffh 255 | 4th sheet - PINDA temp | ^ | D3 Ax0d74 C1
| 0x0D75 3445 | char | _5th Sheet block_ |536174696e2031| ffffffffffffff | 5th sheet - Name: _Satin 1_ | ^ | D3 Ax0d75 C7 | 0x0D75 3445 | char | _5th Sheet block_ |536174696e2020| ffffffffffffff | 5th sheet - Name: _Satin _ | ^ | D3 Ax0d75 C7
| 0x0D7C 3452 | uint16 | ^ | 00 00h 0 | ff ffh 65535 | 5th sheet - Z offset | ^ | D3 Ax0d7c C2 | 0x0D7C 3452 | uint16 | ^ | 00 00h 0 | ff ffh 65535 | 5th sheet - Z offset | ^ | D3 Ax0d7c C2
| 0x0D7E 3454 | uint8 | ^ | 00h 0 | ffh 255 | 5th sheet - bed temp | ^ | D3 Ax0d7e C1 | 0x0D7E 3454 | uint8 | ^ | 00h 0 | ffh 255 | 5th sheet - bed temp | ^ | D3 Ax0d7e C1
| 0x0D7F 3455 | uint8 | ^ | 00h 0 | ffh 255 | 5th sheet - PINDA temp | ^ | D3 Ax0d7f C1 | 0x0D7F 3455 | uint8 | ^ | 00h 0 | ffh 255 | 5th sheet - PINDA temp | ^ | D3 Ax0d7f C1
| 0x0D80 3456 | char | _6th Sheet block_ |536174696e2032| ffffffffffffff | 6th sheet - Name: _Satin 2_ | ^ | D3 Ax0d80 C7 | 0x0D80 3456 | char | _6th Sheet block_ |4e796c6f6e5041| ffffffffffffff | 6th sheet - Name: _NylonPA_ | ^ | D3 Ax0d80 C7
| 0x0D87 3463 | uint16 | ^ | 00 00h 0 | ff ffh 65535 | 6th sheet - Z offset | ^ | D3 Ax0d87 C2 | 0x0D87 3463 | uint16 | ^ | 00 00h 0 | ff ffh 65535 | 6th sheet - Z offset | ^ | D3 Ax0d87 C2
| 0x0D89 3465 | uint8 | ^ | 00h 0 | ffh 255 | 6th sheet - bed temp | ^ | D3 Ax0d89 C1 | 0x0D89 3465 | uint8 | ^ | 00h 0 | ffh 255 | 6th sheet - bed temp | ^ | D3 Ax0d89 C1
| 0x0D8A 3466 | uint8 | ^ | 00h 0 | ffh 255 | 6th sheet - PINDA temp | ^ | D3 Ax0d8a C1 | 0x0D8A 3466 | uint8 | ^ | 00h 0 | ffh 255 | 6th sheet - PINDA temp | ^ | D3 Ax0d8a C1