oldnet: remove radio_packet_length_t define
This commit is contained in:
parent
1fceeae91b
commit
830af458ea
@ -51,8 +51,6 @@ extern "C" {
|
|||||||
|
|
||||||
void init_clks1(void);
|
void init_clks1(void);
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -38,8 +38,6 @@ extern "C" {
|
|||||||
#define MSP430_HAS_DCOR 1
|
#define MSP430_HAS_DCOR 1
|
||||||
#define MSP430_HAS_EXTERNAL_CRYSTAL 1
|
#define MSP430_HAS_EXTERNAL_CRYSTAL 1
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -120,11 +120,6 @@ extern "C" {
|
|||||||
#define LED_ORANGE_TOGGLE
|
#define LED_ORANGE_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -85,11 +85,6 @@ extern "C"
|
|||||||
#define LED_RED_TOGGLE LED_R_TOGGLE
|
#define LED_RED_TOGGLE LED_R_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -148,11 +148,6 @@ extern "C" {
|
|||||||
#define LED_ORANGE_TOGGLE (LED_ORANGE_PORT->ODR ^= (1<<LED_ORANGE_PIN))
|
#define LED_ORANGE_TOGGLE (LED_ORANGE_PORT->ODR ^= (1<<LED_ORANGE_PIN))
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -88,11 +88,6 @@ extern "C" {
|
|||||||
#define LED_RED_TOGGLE LED4_TOGGLE
|
#define LED_RED_TOGGLE LED4_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief define radio packet length
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, include clocks, LEDs and stdio
|
* @brief Initialize board specific hardware, include clocks, LEDs and stdio
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -61,7 +61,5 @@ extern "C" {
|
|||||||
|
|
||||||
#include "board-conf.h"
|
#include "board-conf.h"
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
#endif /* MSB_BOARD_H_ */
|
#endif /* MSB_BOARD_H_ */
|
||||||
|
|||||||
@ -54,7 +54,5 @@ extern "C" {
|
|||||||
|
|
||||||
#include "board-conf.h"
|
#include "board-conf.h"
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
#endif /* MSB_BOARD_H_ */
|
#endif /* MSB_BOARD_H_ */
|
||||||
|
|||||||
@ -49,8 +49,6 @@ extern "C" {
|
|||||||
#define CC110X_GDO0 GPIO(PORT_C, 4)
|
#define CC110X_GDO0 GPIO(PORT_C, 4)
|
||||||
#define CC110X_GDO1 GPIO(PORT_A, 6)
|
#define CC110X_GDO1 GPIO(PORT_A, 6)
|
||||||
#define CC110X_GDO2 GPIO(PORT_C, 5)
|
#define CC110X_GDO2 GPIO(PORT_C, 5)
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -94,11 +94,6 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
void board_init(void);
|
void board_init(void);
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -45,8 +45,6 @@ void _native_LED_RED_ON(void);
|
|||||||
void _native_LED_RED_TOGGLE(void);
|
void _native_LED_RED_TOGGLE(void);
|
||||||
#define LED_RED_TOGGLE (_native_LED_RED_TOGGLE())
|
#define LED_RED_TOGGLE (_native_LED_RED_TOGGLE())
|
||||||
|
|
||||||
typedef uint16_t radio_packet_length_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -74,11 +74,6 @@ extern "C" {
|
|||||||
#define LED_ORANGE_TOGGLE
|
#define LED_ORANGE_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -76,11 +76,6 @@ extern "C" {
|
|||||||
#define LED_ORANGE_TOGGLE
|
#define LED_ORANGE_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -74,11 +74,6 @@ extern "C" {
|
|||||||
#define LED_ORANGE_TOGGLE
|
#define LED_ORANGE_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -74,11 +74,6 @@ extern "C" {
|
|||||||
#define LED_ORANGE_TOGGLE
|
#define LED_ORANGE_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @name Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -85,11 +85,6 @@ extern "C"
|
|||||||
#define LED_RED_TOGGLE LED_R_TOGGLE
|
#define LED_RED_TOGGLE LED_R_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@name KW2XRF configuration
|
@name KW2XRF configuration
|
||||||
@{
|
@{
|
||||||
|
|||||||
@ -50,11 +50,6 @@ void init_clks2(void);
|
|||||||
*/
|
*/
|
||||||
void bl_init_clks(void);
|
void bl_init_clks(void);
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -33,8 +33,6 @@ extern "C" {
|
|||||||
#define IBIAS 0x1f
|
#define IBIAS 0x1f
|
||||||
#define FTUNE 0x7
|
#define FTUNE 0x7
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -102,11 +102,6 @@ extern "C" {
|
|||||||
#define LED_RED_TOGGLE LED_TOGGLE
|
#define LED_RED_TOGGLE LED_TOGGLE
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -106,11 +106,6 @@
|
|||||||
#define EXTFLASH GPIO_4
|
#define EXTFLASH GPIO_4
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/**
|
|
||||||
* Define the type for the radio packet length for the transceiver
|
|
||||||
*/
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -67,7 +67,5 @@ extern "C" {
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
#endif /* TELOSB_BOARD_H_ */
|
#endif /* TELOSB_BOARD_H_ */
|
||||||
|
|||||||
@ -69,7 +69,5 @@ extern "C" {
|
|||||||
|
|
||||||
#include <msp430x16x.h>
|
#include <msp430x16x.h>
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
#endif /* WSN_BOARD_H_ */
|
#endif /* WSN_BOARD_H_ */
|
||||||
|
|||||||
@ -69,7 +69,5 @@ extern "C" {
|
|||||||
|
|
||||||
#include <msp430x16x.h>
|
#include <msp430x16x.h>
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
#endif /* WSN_BOARD_H_ */
|
#endif /* WSN_BOARD_H_ */
|
||||||
|
|||||||
@ -76,8 +76,6 @@ extern "C" {
|
|||||||
#define USER_BTN_PRESSED ((USER_BTN_PxIN & USER_BTN_MASK) == 0)
|
#define USER_BTN_PRESSED ((USER_BTN_PxIN & USER_BTN_MASK) == 0)
|
||||||
#define USER_BTN_RELEASED ((USER_BTN_PxIN & USER_BTN_MASK) != 0)
|
#define USER_BTN_RELEASED ((USER_BTN_PxIN & USER_BTN_MASK) != 0)
|
||||||
|
|
||||||
typedef uint8_t radio_packet_length_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user