Update eeprom.c
Function eeprom_put_char's parameters did not align with the .h file.
This commit is contained in:
parent
b9bb0894b6
commit
d376f03bd0
2
eeprom.c
2
eeprom.c
@ -71,7 +71,7 @@ unsigned char eeprom_get_char( unsigned int addr )
|
|||||||
* \param addr EEPROM address to write to.
|
* \param addr EEPROM address to write to.
|
||||||
* \param new_value New EEPROM value.
|
* \param new_value New EEPROM value.
|
||||||
*/
|
*/
|
||||||
void eeprom_put_char( unsigned int addr, unsigned char new_value )
|
void eeprom_put_char( unsigned int addr, char new_value )
|
||||||
{
|
{
|
||||||
char old_value; // Old EEPROM value.
|
char old_value; // Old EEPROM value.
|
||||||
char diff_mask; // Difference mask, i.e. old value XOR new value.
|
char diff_mask; // Difference mask, i.e. old value XOR new value.
|
||||||
|
Loading…
Reference in New Issue
Block a user