projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
carl9170 toolchain: update binutils, gcc
[carl9170fw.git]
/
carlfw
/
src
/
uart.c
diff --git
a/carlfw/src/uart.c
b/carlfw/src/uart.c
index 58f64866bae04352e09239c9c14045df68e35e16..2a0a76a5ee1a57c3253644bd5087fc174d621d5d 100644
(file)
--- a/
carlfw/src/uart.c
+++ b/
carlfw/src/uart.c
@@
-19,8
+19,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with this program; If not, see <http://www.gnu.org/licenses/>.
*/
#include "carl9170.h"
*/
#include "carl9170.h"
@@
-33,7
+32,7
@@
void uart_putc(const char c)
set(AR9170_UART_REG_TX_HOLDING, c);
while (get(AR9170_UART_REG_LINE_STATUS) &
set(AR9170_UART_REG_TX_HOLDING, c);
while (get(AR9170_UART_REG_LINE_STATUS) &
- AR9170_UART_LINE_STS_TX_FIFO_
ALMOST
_EMPTY) {
+ AR9170_UART_LINE_STS_TX_FIFO_
NEAR
_EMPTY) {
/*
* wait until the byte has made it
*/
/*
* wait until the byte has made it
*/