Skip to content

Commit

Permalink
fix: #1 Unexpected behavior with battery charging and discharging whe…
Browse files Browse the repository at this point in the history
…n updating to 1.0.5.1

Signed-off-by: Tictim <ksw07149@gmail.com>
  • Loading branch information
Tictim committed Mar 21, 2021
1 parent f2d2fea commit 4c1e54b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ConverterEnergyStorage(MTEConverter converter){
internalStored += extracted;
}
}
BatteryFilter insert = converter.getModes().getOnlyChargeFilter();
BatteryFilter insert = converter.getModes().getChargeFilter();
if(insert!=BatteryFilter.NONE){
// Charge items using internal buffer
long inserted = insertToBatteries(internalStored, false, insert, false);
Expand Down

0 comments on commit 4c1e54b

Please sign in to comment.