VERY STUPID off by one error
All checks were successful
Build .deb on release / Build-Deb (push) Successful in 1m52s
All checks were successful
Build .deb on release / Build-Deb (push) Successful in 1m52s
This commit is contained in:
parent
b1de54501c
commit
0f69702474
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2554,7 +2554,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tesla-charge-controller"
|
name = "tesla-charge-controller"
|
||||||
version = "1.1.1"
|
version = "1.1.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap 4.4.11",
|
"clap 4.4.11",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tesla-charge-controller"
|
name = "tesla-charge-controller"
|
||||||
version = "1.1.1"
|
version = "1.1.2"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MITNFA"
|
license = "MITNFA"
|
||||||
description = "Controls Tesla charge rate based on solar charge data"
|
description = "Controls Tesla charge rate based on solar charge data"
|
||||||
|
|
|
@ -304,18 +304,18 @@ impl Tristar {
|
||||||
}
|
}
|
||||||
|
|
||||||
enum TristarRamAddress {
|
enum TristarRamAddress {
|
||||||
AdcVbFMed = 25,
|
AdcVbFMed = 0x0018,
|
||||||
AdcVaF = 28,
|
AdcVaF = 0x001B,
|
||||||
Tbatt = 38,
|
AdcIbFShadow = 0x001C,
|
||||||
AdcIbFShadow = 29,
|
AdcIaFShadow = 0x001D,
|
||||||
AdcIaFShadow = 30,
|
Tbatt = 0x0025,
|
||||||
ChargeState = 51,
|
ChargeState = 0x0032,
|
||||||
VbRef = 52,
|
VbRef = 0x0033,
|
||||||
PowerOutShadow = 59,
|
PowerOutShadow = 0x003A,
|
||||||
PowerInShadow = 60,
|
PowerInShadow = 0x003B,
|
||||||
SweepPinMax = 61,
|
SweepPinMax = 0x003C,
|
||||||
SweepVmp = 62,
|
SweepVmp = 0x003D,
|
||||||
SweepVoc = 63,
|
SweepVoc = 0x003E,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl std::ops::Index<TristarRamAddress> for [u16] {
|
impl std::ops::Index<TristarRamAddress> for [u16] {
|
||||||
|
|
Loading…
Reference in a new issue