Log an error if the sangaboard firmware is below v1.0.4
This commit is contained in:
parent
23989977c2
commit
ed9076a115
1 changed files with 5 additions and 0 deletions
|
|
@ -53,6 +53,11 @@ class SangaboardThing(BaseStage):
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
"Please update your Sangaboard Firmware. v1 is required."
|
"Please update your Sangaboard Firmware. v1 is required."
|
||||||
)
|
)
|
||||||
|
if sb.version_tuple[1] == 0 and sb.version_tuple[2] < 4:
|
||||||
|
LOGGER.error(
|
||||||
|
"Sangaboard firmware is not 1.0.4 or later. "
|
||||||
|
"This will affect scanning performance."
|
||||||
|
)
|
||||||
sb.query("blocking_moves false")
|
sb.query("blocking_moves false")
|
||||||
self.update_position()
|
self.update_position()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue