FreeCalypso > hg > freecalypso-tools
comparison target-utils/libcommon/buzzer.c @ 107:4be951811791
target-utils/libcommon: extern u_long strtoul(); added where needed
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 01 Nov 2016 01:10:33 +0000 |
parents | 29d0965ebf86 |
children |
comparison
equal
deleted
inserted
replaced
106:18b3183611fb | 107:4be951811791 |
---|---|
4 * on a given Calypso device. | 4 * on a given Calypso device. |
5 */ | 5 */ |
6 | 6 |
7 #include <sys/types.h> | 7 #include <sys/types.h> |
8 #include "types.h" | 8 #include "types.h" |
9 | |
10 extern u_long strtoul(); | |
9 | 11 |
10 #define ARMIO_LOAD_TIM (*(volatile u16 *) 0xFFFE4808) | 12 #define ARMIO_LOAD_TIM (*(volatile u16 *) 0xFFFE4808) |
11 #define BUZZ_LIGHT_REG (*(volatile u16 *) 0xFFFE480E) | 13 #define BUZZ_LIGHT_REG (*(volatile u16 *) 0xFFFE480E) |
12 #define BUZZ_LEVEL_REG (*(volatile u16 *) 0xFFFE4812) | 14 #define BUZZ_LEVEL_REG (*(volatile u16 *) 0xFFFE4812) |
13 | 15 |