mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Initialize i2c start and done flags
This commit is contained in:
1 parent
c7bb002b7c
commit
fa1f0b05ce
1 file changed
+2
@@ -22,6 +22,8 @@ static void Sleep(unsigned int milliseconds)
|
||||
|
||||
i2c_smbus_interface::i2c_smbus_interface()
|
||||
{
|
||||
i2c_smbus_start = false;
|
||||
i2c_smbus_done = false;
|
||||
i2c_smbus_thread = new std::thread(&i2c_smbus_interface::i2c_smbus_thread_function, this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user