mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-19 23:32:59 -04:00
Don't flush COM port after writing in NZXT Hue Plus controller
This commit is contained in:
1 parent
a2f348a245
commit
43fccf259f
1 file changed
-2
@@ -53,7 +53,6 @@ unsigned int HuePlusController::GetLEDsOnChannel(unsigned int channel)
|
||||
|
||||
serialport->serial_flush_rx();
|
||||
serialport->serial_write((char *)serial_buf, 2);
|
||||
serialport->serial_flush_tx();
|
||||
|
||||
std::this_thread::sleep_for(50ms);
|
||||
|
||||
@@ -230,7 +229,6 @@ void HuePlusController::SendPacket
|
||||
| Send packet |
|
||||
\*-----------------------------------------------------*/
|
||||
serialport->serial_write((char *)serial_buf, HUE_PLUS_PACKET_SIZE);
|
||||
serialport->serial_flush_tx();
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Delay to allow Hue+ device to ready for next packet |
|
||||
|
||||
Reference in new issue
Block a user