updating the proto and adding a button on the device page to test the scan i2c command

This commit is contained in:
csawatzky 2025-06-19 11:32:21 -06:00
parent 10b9cb951d
commit 2c3ba2c1f5
5 changed files with 30 additions and 6 deletions

View file

@ -442,6 +442,9 @@ export default function DevicePage() {
<Grid>
<DeviceActions
device={device}
scanFunction={() => {
deviceAPI.detectI2C(device.id()).then(resp => {console.log("No errors")}).catch(err => {console.log("error")})
}}
isPaused={false}
isLoading={loading}
permissions={permissions}