Merge two lines

This commit is contained in:
Elp03 2024-03-20 10:53:46 +01:00
parent 5b884a50e2
commit 7bcec13f6e

View File

@ -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();