diff options
author | Paul Selkirk <paul@psgd.org> | 2016-06-15 00:19:58 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-06-15 00:19:58 -0400 |
commit | c1d073875eea91c7f4e14b9aa0d7a9c12cf598c2 (patch) | |
tree | 3f55d91c99aa5f355ca917ef83656219333f1f43 /projects/cli-test/mgmt-dfu.c | |
parent | 3e31061ff6cbba7ea5bcb16dd0fa55b65ebf586f (diff) |
Use a 1-byte DMA buffer for management UART receives.
It sounds silly, but this gives us completion callbacks, so we don't spend
out entire time slice polling the receive buffer for new characters (which
kills performance for tasks that are doing real work). Besides, libcli
wants to process a character at a time, so uart_cli_read just waits on the
completion callback.
Diffstat (limited to 'projects/cli-test/mgmt-dfu.c')
0 files changed, 0 insertions, 0 deletions