examples/i2schar: Fix compile error and warning
Fix compile error due to unnecessary endif. Fix warning of long line.
This commit is contained in:
parent
1b99543e8d
commit
66f957792f
@ -212,7 +212,6 @@ static void parse_args(FAR struct i2schar_state_s *i2schar,
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
@ -109,9 +109,8 @@ pthread_addr_t i2schar_transmitter(pthread_addr_t arg)
|
||||
ret = apb_alloc(&desc);
|
||||
if (ret < 0)
|
||||
{
|
||||
printf("
|
||||
i2schar_transmitter: ERROR: failed to allocate buffer %d: %d\n",
|
||||
i + 1, ret);
|
||||
printf("i2schar_transmitter:"
|
||||
"ERROR: failed to allocate buffer %d: %d\n", i + 1, ret);
|
||||
close(fd);
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user