Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slice out of range #1

Open
hubertat opened this issue Sep 12, 2021 · 0 comments
Open

slice out of range #1

hubertat opened this issue Sep 12, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@hubertat
Copy link
Owner

hubertat commented Sep 12, 2021

Do sprawdzenia, err:

OffPeak enabled [OwSet], checking state
2021/09/11 16:09:30 ? Debug:
EnergyPanel enabled, ticking and checking
panic: runtime error: slice bounds out of range [17:15]

goroutine 6 [running]:
main.(*VictronGridMeter).cleanOldReadouts(0x14101e0)
	/Users/hubert/go/src/owkit/energy_panel.go:64 +0x230
main.(*VictronGridMeter).Tick(0x14101e0, 0xc, 0x1446fdc)
	/Users/hubert/go/src/owkit/energy_panel.go:88 +0x3c
main.(*OwSet).cycling(0x145e4e0)
	/Users/hubert/go/src/owkit/ow_set.go:232 +0x490
created by main.(*OwSet).StartCycling
	/Users/hubert/go/src/owkit/ow_set.go:277 +0x5c
@hubertat hubertat added the bug Something isn't working label Sep 12, 2021
@hubertat hubertat self-assigned this Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant