jhd1313m1.cxx: Add comment explaining why write starts with a usleep call

Signed-off-by: Wouter van Verre <wouter.van.verre@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Wouter van Verre 2015-04-09 17:39:42 +01:00 committed by Mihai Tudor Panu
parent 67bd592ed9
commit a6aa972c1c

View File

@ -115,6 +115,7 @@ Jhd1313m1::write(std::string msg)
{
mraa_result_t ret = MRAA_SUCCESS;
// This usleep fixes an odd bug where the clear function doesn't always work properly
usleep(1000);
for (std::string::size_type i = 0; i < msg.size(); ++i) {