Skip to content
Snippets Groups Projects
Commit d1df8ce7 authored by patacongo's avatar patacongo
Browse files

typos

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2976 42af7a65-404d-4744-a932-0658087f49c3
parent 6ee68e07
No related branches found
No related tags found
No related merge requests found
/****************************************************************************
* arch/arm/src/stm32/avr32_serial.c
* arch/avr/src/at91uc3/at91uc3_serial.c
*
* Copyright (C) 2009 Gregory Nutt. All rights reserved.
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
......@@ -422,10 +422,8 @@ static int up_setup(struct uart_dev_s *dev)
regval = up_serialout(priv, AVR32_USART_MR_OFFSET, regval);
/* Enable interrupts at the UART */
/* Disable interrupts at the UART */
#warning "Not Implemented"
/* priv->ie = */
/* Configure hardware flow control -- Not yet supported */
#warning "Not Implemented"
......@@ -437,6 +435,9 @@ static int up_setup(struct uart_dev_s *dev)
#warning "Not Implemented"
#endif
/* Initialize the IMR shadow register */
priv->ie = up_serialout(priv, AVR32_USART_IMR_OFFSET, regval);;
return OK;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment