Skip to content

Commit

Permalink
fixup! feat(split): Add full-duplex wired split support
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Mar 2, 2025
1 parent f15acf1 commit 4843ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/split/wired/wired.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int zmk_split_wired_poll_in(struct ring_buf *rx_buf, const struct device *uart,

ring_buf_put_finish(rx_buf, read);

if (ring_buf_size_get(rx_buf) >= 0) {
if (ring_buf_size_get(rx_buf) > 0) {
if (process_data_work) {
k_work_submit(process_data_work);
} else if (process_data_cb) {
Expand Down

0 comments on commit 4843ce1

Please sign in to comment.