Fixed typo, temp_data to temp_data_to_write

This commit is contained in:
Jason Asbahr
2003-11-19 09:04:25 +00:00
parent cab597f8ee
commit bd0a1736a8
@@ -112,9 +112,9 @@ void LightsDriver_LinuxSerial::Flush()
temp_data_to_write[0] = 'Y';
temp_data_to_write[1] = 'o';
for( int i=0; i<NUM_DATA_BYTES; i++ )
temp_data[2+i] = ~g_data[i]; // flip bits so that 0=on, 1=off.
temp_data_to_write[2+i] = ~g_data[i]; // flip bits so that 0=on, 1=off.
WriteString( temp_data, sizeof(temp_data) );
WriteString( temp_data_to_write, sizeof(temp_data_to_write) );
LOG->Trace( "Leaving LightsDriver_LinuxSerial::Flush()" );
}