Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Comment fix; uartNTxSend -> uartNTxAvailable #4

Merged
merged 1 commit into from

2 participants

@erelson

I'm reasonably sure this is correct based on other spots in the code (and that uartNTxSend() doesn't return anything). This typo is also present in uart0.c and uart1.c, which I infer I got from the wixel-sdk download at Pololu.com, as they're not under version control.

@DavidEGrayson DavidEGrayson merged commit 5015b7c into pololu:master
@DavidEGrayson

Thanks! I merged it in. Actually, uart0.c and uart1.c are generated by the Makefile. They are just copies of core/uart.c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 3, 2012
  1. @erelson
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  libraries/src/uart/core/uart.c
View
2  libraries/src/uart/core/uart.c
@@ -212,7 +212,7 @@ uint8 uartNTxAvailable(void)
void uartNTxSend(const uint8 XDATA * buffer, uint8 size)
{
- // Assumption: uartNTxSend() was recently called and it returned a number at least as big as 'size'.
+ // Assumption: uartNTxAvailable() was recently called and it returned a number at least as big as 'size'.
// TODO: after DMA memcpy is implemented, use it to make this function faster
while (size)
Something went wrong with that request. Please try again.