A func price_to_wattspersecond was renamed to price_kwh_to_wattspersecond.
This commit is contained in:
parent
ca7859f8f8
commit
caa57721f7
@ -65,7 +65,7 @@ inline interval_t interval_to_seconds(const char * const interval) {
|
||||
}
|
||||
}
|
||||
|
||||
inline price_t price_to_wattspersecond(const price_t price) {
|
||||
inline price_t price_kwh_to_wattspersecond(const price_t price) {
|
||||
return price / 1000.f / 3600.f;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user