UPD: Reduce nanoSerialApi list interval

This commit is contained in:
Robert Kossessa
2024-05-17 13:56:00 +02:00
parent 531b56cb56
commit 1929efa5ee

View File

@@ -184,7 +184,7 @@ app.whenReady().then(() => {
Menu.setApplicationMenu(menu) Menu.setApplicationMenu(menu)
//mainWindow.webContents.openDevTools() //mainWindow.webContents.openDevTools()
setInterval(() => nanoSerialApi._list(), 1000) setInterval(() => nanoSerialApi._list(), 500)
app.on('activate', function () { app.on('activate', function () {
// On macOS it's common to re-create a window in the app when the // On macOS it's common to re-create a window in the app when the