added isWireless function to Modem
This commit is contained in:
parent
793639c69d
commit
82827ed921
@ -34,6 +34,10 @@ class Modem implements INetworkInterface implements IPeripheral {
|
||||
});
|
||||
}
|
||||
|
||||
public function isWireless():Bool {
|
||||
return native.isWireless();
|
||||
}
|
||||
|
||||
public function listen(chan:Int) {
|
||||
native.open(chan);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user