Remove unused device setting
This commit is contained in:
parent
6172c00c3c
commit
99a3ca1cbd
4 changed files with 0 additions and 64 deletions
|
@ -58,32 +58,6 @@ class TimeSyncCore {
|
|||
this.timeSyncServer.forceUpdate();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the list of available devices for time sync.
|
||||
* @returns {Array} The list of devices.
|
||||
*/
|
||||
getDevices() {
|
||||
const devices = [{
|
||||
type: 'server',
|
||||
id: 'server',
|
||||
name: 'Server',
|
||||
timeOffset: this.timeSyncServer.getTimeOffset(),
|
||||
ping: this.timeSyncServer.getPing(),
|
||||
peerTimeOffset: 0,
|
||||
peerPing: 0
|
||||
}];
|
||||
|
||||
return devices;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the identifier of the selected device for time sync. Default value is 'server'.
|
||||
* @returns {string} The identifier.
|
||||
*/
|
||||
getActiveDevice() {
|
||||
return this.timeSyncDeviceId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the display name of the selected device for time sync.
|
||||
* @returns {string} The display name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue