Script Context layers test for "ASCERR: " and the space is significant.
Update code and comments to reflect that
This commit is contained in:
@@ -102,7 +102,7 @@ int NewportWriting(Ascon *a) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/** @brief Map replies to OK, ASCERR:..., value.
|
||||
/** @brief Map replies to OK, ASCERR: ..., value.
|
||||
* You can not use the first character to sort replies from a Newport controller
|
||||
*/
|
||||
int NewportReading(Ascon *a) {
|
||||
@@ -163,7 +163,7 @@ int NewportReading(Ascon *a) {
|
||||
* sorts replies into standard responses of
|
||||
* <value>
|
||||
* OK
|
||||
* ASCERR:...
|
||||
* ASCERR: ...
|
||||
*/
|
||||
int NewportProtHandler(Ascon *a) {
|
||||
int ret;
|
||||
|
||||
Reference in New Issue
Block a user