mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 14:14:17 -04:00
Initialize i2c start and done flags
This commit is contained in:
@@ -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