Skip to content

Commit

Permalink
Modify the run screenshot hyperlink
Browse files Browse the repository at this point in the history
  • Loading branch information
baiye authored and hzcyf committed Nov 5, 2024
1 parent 40c8a5d commit d6d044a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/2.device.firmware_update/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ Device is the device object, which can be used to obtain the device information,
```c++
std::shared_ptr<ob::Context> context = std::make_shared<ob::Context>();
```
2. List Connected Devices:
2. List Connected Devices.

```c++
std::shared_ptr<ob::DeviceList> deviceList = context->queryDeviceList();
for(uint32_t i = 0; i < deviceList->getCount(); ++i) {
devices.push_back(deviceList->getDevice(i));
}
```
3. Define a Callback Function for Firmware Update Progress:
3. Define a Callback Function for Firmware Update Progress.

You can define a callback function to get the progress of the firmware update. The callback function will be called every time the device updates its progress.

Expand Down Expand Up @@ -94,4 +94,4 @@ Select the device for firmware update and input the path of the firmware file. T

### Result

![image](../../docs/resource/coordinate_transform.jpg)
![image](../../docs/resource/device_firmware_update.jpg)

0 comments on commit d6d044a

Please sign in to comment.