partial subscriptions
not really partial. they just happen per peripheral now
This commit is contained in:
@@ -5,6 +5,8 @@ import (
|
||||
"log/slog"
|
||||
"strconv"
|
||||
"sync"
|
||||
|
||||
"esdi/constants"
|
||||
)
|
||||
|
||||
// NOTE: for managing fuel consumption and predictions we need to filter out
|
||||
@@ -264,3 +266,7 @@ func (fc *FuelCalculator) resetHistory() {
|
||||
func (fc *FuelCalculator) EnsureSubscribed() []FieldID {
|
||||
return []FieldID{FuelLevel, LapNumber}
|
||||
}
|
||||
|
||||
func (fc *FuelCalculator) Name() string {
|
||||
return constants.FuelCalculatorName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user