We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0b851a commit e8c0e9bCopy full SHA for e8c0e9b
1 file changed
Source/Processors/DataThreads/RhythmNode/RHD2000Thread.cpp
@@ -1726,6 +1726,8 @@ void RHD2000Thread::enableBoardLeds(bool enable)
1726
1727
int RHD2000Thread::setClockDivider(int divide_ratio)
1728
{
1729
+ if (!deviceFound)
1730
+ return 1;
1731
1732
// Divide ratio should be 1 or an even number
1733
if (divide_ratio != 1 && divide_ratio % 2)
0 commit comments