diff options
Diffstat (limited to 'examples/java/ScannerTinyB01.java')
-rw-r--r-- | examples/java/ScannerTinyB01.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/java/ScannerTinyB01.java b/examples/java/ScannerTinyB01.java index e431f610..b1266a9e 100644 --- a/examples/java/ScannerTinyB01.java +++ b/examples/java/ScannerTinyB01.java @@ -150,7 +150,7 @@ public class ScannerTinyB01 { System.exit(-1); } adapter = adapters.get(dev_id); - if( !adapter.isEnabled() ) { + if( !adapter.isPowered() ) { System.err.println("Adapter not enabled: device "+adapter.getName()+", address "+adapter.getAddress()+": "+adapter.toString()); System.exit(-1); } |