diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 20:59:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-12-16 20:59:06 +0000 |
commit | 471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa (patch) | |
tree | 6ad8b287c156c844116acc3dc4f55ec9069fd180 /nuttx/arch/z16 | |
parent | 692fdecda1d50a2d5ca3bd8338074ece4c8eee38 (diff) | |
download | px4-nuttx-471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa.tar.gz px4-nuttx-471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa.tar.bz2 px4-nuttx-471b50c5f8f0f49ce8abfb8f0085d05cfe32edaa.zip |
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2361 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z16')
-rw-r--r-- | nuttx/arch/z16/src/common/up_initialstate.c | 2 | ||||
-rw-r--r-- | nuttx/arch/z16/src/z16f/z16f_serial.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z16/src/common/up_initialstate.c b/nuttx/arch/z16/src/common/up_initialstate.c index 2282e2735..b6b3ced50 100644 --- a/nuttx/arch/z16/src/common/up_initialstate.c +++ b/nuttx/arch/z16/src/common/up_initialstate.c @@ -84,7 +84,7 @@ void up_initial_state(_TCB *tcb) memset(&tcb->xcp, 0, sizeof(struct xcptcontext)); #ifndef CONFIG_SUPPRESS_INTERRUPTS - tcb->xcp.regs[REG_FLAGS] = (uint16_t))Z16F_CNTRL_FLAGS_IRQE; /* IRQE flag will enable interrupts */ + tcb->xcp.regs[REG_FLAGS] = (uint16_t)Z16F_CNTRL_FLAGS_IRQE; /* IRQE flag will enable interrupts */ #endif reg32[REG_SP/2] = (uint32_t)tcb->adj_stack_ptr; reg32[REG_PC/2] = (uint32_t)tcb->start; diff --git a/nuttx/arch/z16/src/z16f/z16f_serial.c b/nuttx/arch/z16/src/z16f/z16f_serial.c index d87b3257c..20b888caf 100644 --- a/nuttx/arch/z16/src/z16f/z16f_serial.c +++ b/nuttx/arch/z16/src/z16f/z16f_serial.c @@ -316,7 +316,7 @@ static int z16f_setup(struct uart_dev_s *dev) */ brg = (_DEFCLK + (priv->baud << 3))/(priv->baud << 4); - putreg16((uint16_t))brg, priv->uartbase + Z16F_UART_BR); + putreg16((uint16_t)brg, priv->uartbase + Z16F_UART_BR); /* Configure STOP bits */ |