Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Chua-VGA Wolfram-1D-VGA WolframRnd-1D-VGA Basin-VGA ... more
Revision 2:148b9af2b336, committed 2012-01-04
- Comitter:
- Ivop
- Date:
- Wed Jan 04 01:42:56 2012 +0000
- Parent:
- 1:bc492a93e116
- Commit message:
- fixed bug in fl_uart_send_byte. thanks to smayr for finding it
Changed in this revision
| uart.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r bc492a93e116 -r 148b9af2b336 uart.h
--- a/uart.h Sun Jul 17 16:03:50 2011 +0000
+++ b/uart.h Wed Jan 04 01:42:56 2012 +0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 2010, 2011 by Ivo van Poorten <ivop@euronet.nl>
+/* Copyright (C) 2010, 2011, 2012 by Ivo van Poorten <ivop@euronet.nl>
* This file is licensed under the terms of the GNU Lesser
* General Public License, version 3.
*/
@@ -54,7 +54,7 @@
}
static inline void fl_uart_send_byte(const unsigned uart, const unsigned byte) {
- *FL_UART(uart, THR);
+ *FL_UART(uart, THR) = byte;
}
static inline unsigned fl_uart_get_divisor_latch(const unsigned uart) {