updating the proto and adding a button on the device page to test the scan i2c command
This commit is contained in:
parent
10b9cb951d
commit
2c3ba2c1f5
5 changed files with 30 additions and 6 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue