From a0aa94751fbbe81f9045f390e9134932166fe099 Mon Sep 17 00:00:00 2001 From: Philip Heron Date: Thu, 17 Jun 2010 21:14:10 +0100 Subject: [PATCH] Nest the second loop inside the other --- rtty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rtty.c b/rtty.c index c6e58da..478fdb9 100644 --- a/rtty.c +++ b/rtty.c @@ -68,8 +68,7 @@ void rtx_init() void inline rtx_wait() { /* Wait for interrupt driven TX to finish */ - while(txlen > 0); - while(txlen > 0); + while(txlen > 0) while(txlen > 0); } void rtx_data(uint8_t *data, size_t length)