From d376f03bd0706456a6e66f44ca27f6b0f4498d38 Mon Sep 17 00:00:00 2001 From: Bertus Kruger Date: Tue, 12 Mar 2013 19:01:17 +1300 Subject: [PATCH] Update eeprom.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Function eeprom_put_char's parameters did not align with the .h file. --- eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeprom.c b/eeprom.c index 02caf20..7169b37 100644 --- a/eeprom.c +++ b/eeprom.c @@ -71,7 +71,7 @@ unsigned char eeprom_get_char( unsigned int addr ) * \param addr EEPROM address to write to. * \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 diff_mask; // Difference mask, i.e. old value XOR new value.