Important Update:
- JSONparseCore: - Bug fix: Incorrectly terminated PrintString on null - SelectableCore: - Add BaudRate, DataBits, Parity, StopBits, FlowCtrl, DataWait to THandle - Include Serial Port setup in SetPortHandle() - Read Serial Port config in LoadConfigData() - Rename SetSerialConfig() -> ConfigureSerialPort() - Configure Serial Port immediately after opening port
This commit is contained in:
@@ -755,7 +755,7 @@ bool CJSONparse::PrintString( char * String, int Len )
|
||||
write( OutputHandle, Mark, (BufPos-Mark) );
|
||||
|
||||
// Handle special chars
|
||||
if (!*BufPos) {
|
||||
if (BufPos-String >= Len) {
|
||||
break;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user