diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-30 00:46:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-30 00:46:27 +0000 |
commit | 120abbf998a02c39dc8a3c7d82f3e1ebeae195e9 (patch) | |
tree | 94eee3587024ef56c197679c0189dbf0f75e3ff8 /nuttx/configs/avr32dev1/src | |
parent | fc44796aa0ce534591ab5f19fad282f34ff1ab44 (diff) | |
download | px4-nuttx-120abbf998a02c39dc8a3c7d82f3e1ebeae195e9.tar.gz px4-nuttx-120abbf998a02c39dc8a3c7d82f3e1ebeae195e9.tar.bz2 px4-nuttx-120abbf998a02c39dc8a3c7d82f3e1ebeae195e9.zip |
Fix big-time naming error -- what was I thinking?
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3059 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/avr32dev1/src')
-rwxr-xr-x | nuttx/configs/avr32dev1/src/avr32dev1_internal.h | 8 | ||||
-rwxr-xr-x | nuttx/configs/avr32dev1/src/up_boot.c | 2 | ||||
-rwxr-xr-x | nuttx/configs/avr32dev1/src/up_buttons.c | 12 | ||||
-rwxr-xr-x | nuttx/configs/avr32dev1/src/up_leds.c | 14 |
4 files changed, 18 insertions, 18 deletions
diff --git a/nuttx/configs/avr32dev1/src/avr32dev1_internal.h b/nuttx/configs/avr32dev1/src/avr32dev1_internal.h index 1d3343127..30f19c7db 100755 --- a/nuttx/configs/avr32dev1/src/avr32dev1_internal.h +++ b/nuttx/configs/avr32dev1/src/avr32dev1_internal.h @@ -34,8 +34,8 @@ *
************************************************************************************/
-#ifndef _CONFIGS_AT91DEV1_SRC_AT91DEV1_INTERNAL_H
-#define _CONFIGS_AT91DEV1_SRC_AT91DEV1_INTERNAL_H
+#ifndef _CONFIGS_AVR32DEV1_SRC_AVR32DEV1_INTERNAL_H
+#define _CONFIGS_AVR32DEV1_SRC_AVR32DEV1_INTERNAL_H
/************************************************************************************
* Included Files
@@ -43,7 +43,7 @@ #include <nuttx/config.h>
#include <nuttx/compiler.h>
-#include "at91uc3_config.h"
+#include "at32uc3_config.h"
/************************************************************************************
* Definitions
@@ -123,5 +123,5 @@ extern void up_ledinitialize(void); #endif
#endif /* __ASSEMBLY__ */
-#endif /* _CONFIGS_AT91DEV1_SRC_AT91DEV1_INTERNAL_H */
+#endif /* _CONFIGS_AVR32DEV1_SRC_AVR32DEV1_INTERNAL_H */
diff --git a/nuttx/configs/avr32dev1/src/up_boot.c b/nuttx/configs/avr32dev1/src/up_boot.c index b0eae956e..44dd8ee55 100755 --- a/nuttx/configs/avr32dev1/src/up_boot.c +++ b/nuttx/configs/avr32dev1/src/up_boot.c @@ -47,7 +47,7 @@ #include "up_arch.h"
#include "up_internal.h"
-#include "at91uc3_internal.h"
+#include "at32uc3_internal.h"
#include "avr32dev1_internal.h"
/************************************************************************************
diff --git a/nuttx/configs/avr32dev1/src/up_buttons.c b/nuttx/configs/avr32dev1/src/up_buttons.c index b891d8698..3c35f59de 100755 --- a/nuttx/configs/avr32dev1/src/up_buttons.c +++ b/nuttx/configs/avr32dev1/src/up_buttons.c @@ -38,7 +38,7 @@ ****************************************************************************/ #include <nuttx/config.h> -#include "at91uc3_config.h" +#include "at32uc3_config.h" #include <sys/types.h> #include <stdint.h> @@ -48,7 +48,7 @@ #include <arch/irq.h> #include <arch/board/board.h> -#include "at91uc3_internal.h" +#include "at32uc3_internal.h" #include "avr32dev1_internal.h" #ifdef CONFIG_ARCH_BUTTONS @@ -75,8 +75,8 @@ void up_buttoninit(void) { - (void)at91uc3_configgpio(PINMUX_GPIO_BUTTON1); - (void)at91uc3_configgpio(PINMUX_GPIO_BUTTON2); + (void)at32uc3_configgpio(PINMUX_GPIO_BUTTON1); + (void)at32uc3_configgpio(PINMUX_GPIO_BUTTON2); } /**************************************************************************** @@ -87,8 +87,8 @@ uint8_t up_buttons(void) { uint8_t retval; - retval = at91uc3_gpioread(PINMUX_GPIO_BUTTON1) ? 0 : BUTTON1; - retval |= at91uc3_gpioread(PINMUX_GPIO_BUTTON2) ? 0 : BUTTON2; + retval = at32uc3_gpioread(PINMUX_GPIO_BUTTON1) ? 0 : BUTTON1; + retval |= at32uc3_gpioread(PINMUX_GPIO_BUTTON2) ? 0 : BUTTON2; return retval; } diff --git a/nuttx/configs/avr32dev1/src/up_leds.c b/nuttx/configs/avr32dev1/src/up_leds.c index 6e6d52388..c7f123a98 100755 --- a/nuttx/configs/avr32dev1/src/up_leds.c +++ b/nuttx/configs/avr32dev1/src/up_leds.c @@ -40,7 +40,7 @@ #include <nuttx/config.h> -#include "at91uc3_internal.h" +#include "at32uc3_internal.h" #include "avr32dev1_internal.h" #ifdef CONFIG_ARCH_LEDS @@ -67,8 +67,8 @@ void up_ledinitialize(void) { - at91uc3_configgpio(PINMUX_GPIO_LED1); - at91uc3_configgpio(PINMUX_GPIO_LED2); + at32uc3_configgpio(PINMUX_GPIO_LED1); + at32uc3_configgpio(PINMUX_GPIO_LED2); } /**************************************************************************** @@ -77,8 +77,8 @@ void up_ledinitialize(void) void up_ledon(int led) { - at91uc3_gpiowrite(PINMUX_GPIO_LED1, (led != 0)); - at91uc3_gpiowrite(PINMUX_GPIO_LED2, (led == 2)); + at32uc3_gpiowrite(PINMUX_GPIO_LED1, (led != 0)); + at32uc3_gpiowrite(PINMUX_GPIO_LED2, (led == 2)); } /**************************************************************************** @@ -87,7 +87,7 @@ void up_ledon(int led) void up_ledoff(int led) { - at91uc3_gpiowrite(PINMUX_GPIO_LED1, (led == 2)); - at91uc3_gpiowrite(PINMUX_GPIO_LED2, false); + at32uc3_gpiowrite(PINMUX_GPIO_LED1, (led == 2)); + at32uc3_gpiowrite(PINMUX_GPIO_LED2, false); } #endif /* CONFIG_ARCH_LEDS */ |