Don't flush COM port after writing in NZXT Hue Plus controller
This commit is contained in:
parent
a2f348a245
commit
43fccf259f
1 changed files with 0 additions and 2 deletions
|
|
@ -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 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue