mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-02 23:14:11 +00:00
🩹 Fix SD partitionTable packing (#25648)
This commit is contained in:
parent
b0c3db67f0
commit
81d4f8f26a
1 changed files with 4 additions and 4 deletions
|
@ -66,9 +66,9 @@ struct partitionTable {
|
||||||
* Sector part of Cylinder-head-sector address of the first block in
|
* Sector part of Cylinder-head-sector address of the first block in
|
||||||
* the partition. Legal values are 1-63. Only used in old PC BIOS.
|
* the partition. Legal values are 1-63. Only used in old PC BIOS.
|
||||||
*/
|
*/
|
||||||
unsigned beginSector : 6;
|
uint8_t beginSector : 6;
|
||||||
/** High bits cylinder for first block in partition. */
|
/** High bits cylinder for first block in partition. */
|
||||||
unsigned beginCylinderHigh : 2;
|
uint8_t beginCylinderHigh : 2;
|
||||||
/**
|
/**
|
||||||
* Combine beginCylinderLow with beginCylinderHigh. Legal values
|
* Combine beginCylinderLow with beginCylinderHigh. Legal values
|
||||||
* are 0-1023. Only used in old PC BIOS.
|
* are 0-1023. Only used in old PC BIOS.
|
||||||
|
@ -88,9 +88,9 @@ struct partitionTable {
|
||||||
* Sector part of cylinder-head-sector address of the last sector in
|
* Sector part of cylinder-head-sector address of the last sector in
|
||||||
* the partition. Legal values are 1-63. Only used in old PC BIOS.
|
* the partition. Legal values are 1-63. Only used in old PC BIOS.
|
||||||
*/
|
*/
|
||||||
unsigned endSector : 6;
|
uint8_t endSector : 6;
|
||||||
/** High bits of end cylinder */
|
/** High bits of end cylinder */
|
||||||
unsigned endCylinderHigh : 2;
|
uint8_t endCylinderHigh : 2;
|
||||||
/**
|
/**
|
||||||
* Combine endCylinderLow with endCylinderHigh. Legal values
|
* Combine endCylinderLow with endCylinderHigh. Legal values
|
||||||
* are 0-1023. Only used in old PC BIOS.
|
* are 0-1023. Only used in old PC BIOS.
|
||||||
|
|
Loading…
Reference in a new issue