minor fixes of DMA uart code

This commit is contained in:
joxe 2011-01-05 13:36:38 +00:00
parent 2e1c856741
commit 5b7b3da99c
3 changed files with 9 additions and 9 deletions

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)$Id: uart1.c,v 1.20 2011/01/05 12:02:02 joxe Exp $
* @(#)$Id: uart1.c,v 1.21 2011/01/05 13:36:38 joxe Exp $
*/
/*
@ -58,7 +58,7 @@ static volatile uint8_t transmitting;
#endif /* UART1_CONF_TX_WITH_INTERRUPT */
#ifdef UART1_CONF_RX_WITH_DMA
#define TX_WITH_INTERRUPT UART1_CONF_RX_WITH_DMA
#define RX_WITH_DMA UART1_CONF_RX_WITH_DMA
#else /* UART1_CONF_RX_WITH_DMA */
#define RX_WITH_DMA 0
#endif /* UART1_CONF_RX_WITH_DMA */

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: msp430.c,v 1.14 2011/01/05 12:02:01 joxe Exp $
* @(#)$Id: msp430.c,v 1.15 2011/01/05 13:36:38 joxe Exp $
*/
#include <io.h>
#include <signal.h>

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: msp430.h,v 1.3 2011/01/05 12:02:01 joxe Exp $
* $Id: msp430.h,v 1.4 2011/01/05 13:36:38 joxe Exp $
*/
/**
@ -54,7 +54,7 @@
#define MSP430_REQUIRE_LPM2 2
#define MSP430_REQUIRE_LPM3 3
void msp430_add_lpm_req();
void msp430_remove_lpm_req();
void msp430_add_lpm_req(int req);
void msp430_remove_lpm_req(int req);
#endif /* __MSP430_H__ */