fixed inverted condition in hio.c

This commit is contained in:
TuxSH 2019-06-18 23:58:47 +02:00
parent 39287d43e3
commit f4851cd533

View File

@ -114,7 +114,7 @@ GDB_DECLARE_HANDLER(HioReply)
if (*pos != 0) if (*pos != 0)
{ {
if (*pos == 'C') if (*pos != 'C')
return GDB_ReplyErrno(ctx, EILSEQ); return GDB_ReplyErrno(ctx, EILSEQ);
ctx->currentHioRequest.ctrlC = true; ctx->currentHioRequest.ctrlC = true;