Skip to content

Commit

Permalink
fix: improve example
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt committed Dec 20, 2024
1 parent 6e2191d commit e91f466
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/scan-for-devices.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { DjiDevice } from './dist/index.js';
import { DjiDevice, DjiDeviceScanner } from '../dist/index.js';

import { DjiDeviceScanner } from './dist/index.js';
const { shared: scanner } = DjiDeviceScanner;
console.log('Starting DJI device scanner...');
scanner.startScanningForDevices();
Expand Down

0 comments on commit e91f466

Please sign in to comment.