fix spektrum files

This commit is contained in:
Felix Ruess
2010-10-25 21:58:04 +00:00
parent aac25be67b
commit 149a7511b2
9 changed files with 29 additions and 29 deletions
@@ -22,8 +22,8 @@
*
*/
#ifndef BOOZ_RADIO_CONTROL_SPEKTRUM_ARCH_H
#define BOOZ_RADIO_CONTROL_SPEKTRUM_ARCH_H
#ifndef RADIO_CONTROL_SPEKTRUM_ARCH_H
#define RADIO_CONTROL_SPEKTRUM_ARCH_H
#include "std.h"
#include "uart.h"
@@ -99,4 +99,4 @@ extern const int16_t rc_spk_throw[RADIO_CONTROL_NB_CHANNEL];
}
#endif /* BOOZ_RADIO_CONTROL_SPEKTRUM_ARCH_H */
#endif /* RADIO_CONTROL_SPEKTRUM_ARCH_H */
@@ -22,8 +22,8 @@
*
*/
#ifndef BOOZ_RADIO_CONTROL_SPEKTRUM_ARCH_H
#define BOOZ_RADIO_CONTROL_SPEKTRUM_ARCH_H
#ifndef RADIO_CONTROL_SPEKTRUM_ARCH_H
#define RADIO_CONTROL_SPEKTRUM_ARCH_H
/*
@@ -65,4 +65,4 @@
extern void RadioControlEventImp(void (*_received_frame_handler)(void));
#endif /* BOOZ_RADIO_CONTROL_SPEKTRUM_ARCH_H */
#endif /* RADIO_CONTROL_SPEKTRUM_ARCH_H */
@@ -22,11 +22,11 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef BOOZ_RADIO_CONTROL_NULL_H
#define BOOZ_RADIO_CONTROL_NULL_H
#ifndef RADIO_CONTROL_NULL_H
#define RADIO_CONTROL_NULL_H
#include "conf_radio_control_ppm.h"
#include "radio.h"
#define RadioControlEvent(_received_frame_handler) { }
#endif /* BOOZ_RADIO_CONTROL_NULL_H */
#endif /* RADIO_CONTROL_NULL_H */
@@ -22,8 +22,8 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef BOOZ_RADIO_CONTROL_JOBY_H
#define BOOZ_RADIO_CONTROL_JOBY_H
#ifndef RADIO_CONTROL_JOBY_H
#define RADIO_CONTROL_JOBY_H
#include "std.h"
#include "uart.h"
@@ -72,4 +72,4 @@ void rc_joby_parse(int8_t c, void (* callback)(void));
}
#endif /* BOOZ_RADIO_CONTROL_JOBY_H */
#endif /* RADIO_CONTROL_JOBY_H */
@@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef BOOZ_RADIO_CONTROL_JOBY_9CH_H
#define BOOZ_RADIO_CONTROL_JOBY_9CH_H
#ifndef RADIO_CONTROL_JOBY_9CH_H
#define RADIO_CONTROL_JOBY_9CH_H
#define RADIO_CONTROL_NB_CHANNEL 9
@@ -48,4 +48,4 @@
1, \
1 }
#endif /* BOOZ_RADIO_CONTROL_JOBY_9CH_H */
#endif /* RADIO_CONTROL_JOBY_9CH_H */
@@ -21,7 +21,7 @@
* Boston, MA 02111-1307, USA.
*/
#include "booz_radio_control_spektrum.h"
#include "spektrum.h"
/* Currently the functionality has been pushed into the arch directories
* both arch directories contain essentially the original parser.
@@ -22,15 +22,15 @@
*
*/
#ifndef BOOZ_RADIO_CONTROL_SPEKTRUM_H
#define BOOZ_RADIO_CONTROL_SPEKTRUM_H
#ifndef RADIO_CONTROL_SPEKTRUM_H
#define RADIO_CONTROL_SPEKTRUM_H
/* implemented in booz/arch/xxx/radio_control/booz_radio_control_spektrum_arch.c */
/* implemented in arch/xxx/subsystems/radio_control/spektrum_arch.c */
extern void radio_control_spektrum_try_bind(void);
#include "radio_control/booz_radio_control_spektrum_arch.h"
/* implemented in booz/arch/xxx/radio_control/booz_radio_control_spektrum_arch.c */
#include <subsystems/radio_control/spektrum_arch.h>
/* implemented in arch/xxx/subsystems/radio_control/spektrum_arch.c */
#define RadioControlEvent(_received_frame_handler) RadioControlEventImp(_received_frame_handler)
#endif /* BOOZ_RADIO_CONTROL_SPEKTRUM_H */
#endif /* RADIO_CONTROL_SPEKTRUM_H */
@@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef BOOZ_RADIO_CONTROL_SPEKTRUM_DX7SE_H
#define BOOZ_RADIO_CONTROL_SPEKTRUM_DX7SE_H
#ifndef RADIO_CONTROL_SPEKTRUM_DX7SE_H
#define RADIO_CONTROL_SPEKTRUM_DX7SE_H
#define RADIO_CONTROL_NB_CHANNEL 7
#define RADIO_CONTROL_ROLL 0
@@ -51,4 +51,4 @@
throttle 5
*/
#endif /* BOOZ_RADIO_CONTROL_SPEKTRUM_DX7SE_H */
#endif /* RADIO_CONTROL_SPEKTRUM_DX7SE_H */
@@ -21,8 +21,8 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef BOOZ_RADIO_CONTROL_SPEKTRUM_DX7SE_H
#define BOOZ_RADIO_CONTROL_SPEKTRUM_DX7SE_H
#ifndef RADIO_CONTROL_SPEKTRUM_DX7SE_H
#define RADIO_CONTROL_SPEKTRUM_DX7SE_H
#define RADIO_CONTROL_NB_CHANNEL 7
@@ -51,4 +51,4 @@
throttle 5
*/
#endif /* BOOZ_RADIO_CONTROL_SPEKTRUM_DX7SE_H */
#endif /* RADIO_CONTROL_SPEKTRUM_DX7SE_H */