Update eeprom.c

Function eeprom_put_char's parameters did not align with the .h file.
This commit is contained in:
Bertus Kruger 2013-03-12 19:01:17 +13:00
parent b9bb0894b6
commit d376f03bd0

View File

@ -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.