Conversation
|
Sorry but for this one I will need more details (I do not accept code that I don't fully understand):
|
|
Sorry, This results in 56040000 overwriting the previous 71000000 in the line Added: trace!("capacity: {capacity}");
trace!("energy: {energy}");Both: After: Before: imho scope wise only a local function makes sense. having parse_line as a static method of Bato does not make any sense since the functionality is only used inside of the config parsing. If you want to i can move it to lib.rs
|
9681804 to
af305db
Compare
Previously there was an error where a earlier POWER_SUPPLY_ENERGY_FULL_DESIGN can overwrite a POWER_SUPPLY_ENERGY_FULL Error when we match the string exactly a second time
af305db to
9de25ec
Compare
Then, the key comprehension point you are omitting here is that you disabled You are running in “true level” mode (not sure the right name for it). Therefore, we expect the parsed capacity to be Good catch. |
|
Hi, sorry that you had to guess again. |
|
no need to use generic it's overkill
yes, fixed in 5299d99 Thx for the report. |
Previously there was an error where a earlier
POWER_SUPPLY_ENERGY_FULL_DESIGN can overwrite a POWER_SUPPLY_ENERGY_FULL
Error when we match the string exactly a second time