Merge two lines
This commit is contained in:
parent
5b884a50e2
commit
7bcec13f6e
@ -29,8 +29,7 @@ void check_eeprom_is_ready(){
|
|||||||
// If true, the infromation is replaced with the intaken struct
|
// If true, the infromation is replaced with the intaken struct
|
||||||
// else the intaken struct is written at the address.
|
// else the intaken struct is written at the address.
|
||||||
void write_struct_from_EEPROM(config_t write_struct){
|
void write_struct_from_EEPROM(config_t write_struct){
|
||||||
uint8_t struct_size;
|
uint8_t struct_size = sizeof(write_struct);
|
||||||
struct_size = sizeof(write_struct);
|
|
||||||
|
|
||||||
check_eeprom_is_ready();
|
check_eeprom_is_ready();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user