Remove a few static.
Cutter can't test suche methods.
This commit is contained in:
parent
4f3aec28b3
commit
5fa9f2cbc3
1 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ mad_new (uint8_t version)
|
||||||
/*
|
/*
|
||||||
* Compute CRC.
|
* Compute CRC.
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
nxp_crc (uint8_t *crc, const uint8_t value)
|
nxp_crc (uint8_t *crc, const uint8_t value)
|
||||||
{
|
{
|
||||||
/* x^8 + x^4 + x^3 + x^2 + 1 => 0x11d */
|
/* x^8 + x^4 + x^3 + x^2 + 1 => 0x11d */
|
||||||
|
@ -142,7 +142,7 @@ nxp_crc (uint8_t *crc, const uint8_t value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint8_t
|
uint8_t
|
||||||
sector_0x00_crc8 (Mad mad)
|
sector_0x00_crc8 (Mad mad)
|
||||||
{
|
{
|
||||||
uint8_t crc = CRC_PRESET;
|
uint8_t crc = CRC_PRESET;
|
||||||
|
@ -157,7 +157,7 @@ sector_0x00_crc8 (Mad mad)
|
||||||
return crc;
|
return crc;
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint8_t
|
uint8_t
|
||||||
sector_0x10_crc8 (Mad mad)
|
sector_0x10_crc8 (Mad mad)
|
||||||
{
|
{
|
||||||
uint8_t crc = CRC_PRESET;
|
uint8_t crc = CRC_PRESET;
|
||||||
|
|
Loading…
Reference in a new issue