Skip to content

Commit

Permalink
Set timer interval to 1s.
Browse files Browse the repository at this point in the history
  • Loading branch information
cemkaya-mpi committed Aug 26, 2023
1 parent e698584 commit af58b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, parent=None):
if (self.is_root and self.is_dell_g15):
grid.addWidget(self.createSecondExclusiveGroup(), 0, 1)
self.timer = QTimer(self) #timer to update fan rpm values
self.timer.setInterval(5000)
self.timer.setInterval(1000)
self.timer.timeout.connect(self.get_rpm_and_temp)
self.timer.start()
self.setLayout(grid)
Expand Down

0 comments on commit af58b2e

Please sign in to comment.