Dear Alex Waterman,
Adds a short busy loop wait to the atmel_usart.c serial_init()
function.
Signed-off-by: Alex Waterman awater...@dawning.com
---
drivers/serial/atmel_usart.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/serial/atmel_usart.c
Hello.
On 30-06-2011 23:33, Alex Waterman wrote:
Adds a short busy loop wait to the atmel_usart.c serial_init()
function.
Signed-off-by: Alex Watermanawater...@dawning.com
diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c
index e326b2b..e355706 100644
---
Why 'volatile'? Also, there shouldn't be an empty line before it but there
should be one after it...
I used a volatile to prevent the compiler from optimizing out the (normally)
useless loop. Is there a cleaner way to do this?
Best regards,
Alex
--
Alex Waterman
Computer Engineer
Phone:
Hi Alex,
Le 01/07/2011 14:37, Alex Waterman a écrit :
Why 'volatile'? Also, there shouldn't be an empty line before it but
there should be one after it...
I used a volatile to prevent the compiler from optimizing out the (normally)
useless loop. Is there a cleaner way to do this?
If
Adds a short busy loop wait to the atmel_usart.c serial_init()
function.
Signed-off-by: Alex Waterman awater...@dawning.com
---
drivers/serial/atmel_usart.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c
From: Alex Waterman awater...@dawning.com
Adds a short busy loop wait to the atmel_usart.c serial_init()
function.
Signed-off-by: Alex Waterman awater...@dawning.com
---
drivers/serial/atmel_usart.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git
6 matches
Mail list logo