diff --git a/rfm69.h b/rfm69.h index da3353b..7d8dd31 100644 --- a/rfm69.h +++ b/rfm69.h @@ -78,23 +78,6 @@ #define CAST_ADDRESS 0x84 /** - * Flags for "payload ready" event. - */ -typedef struct { - bool ready; - bool crc; -} PayloadFlags; - -/** - * Temperature read from transmitter including - * additional information. - */ -typedef struct { - uint16_t raw; - uint8_t power; -} Temperature; - -/** * Initializes the radio module with the given carrier frequency in kilohertz * and node address. */ diff --git a/types.h b/types.h index af5ebfd..6378677 100644 --- a/types.h +++ b/types.h @@ -38,6 +38,23 @@ } Point; /** + * Flags for "payload ready" event. + */ +typedef struct { + bool ready; + bool crc; +} PayloadFlags; + +/** + * Temperature read from transmitter including + * additional information. + */ +typedef struct { + uint16_t raw; + uint8_t power; +} Temperature; + +/** * Pointer to a function that takes an array of bytes * and returns a boolean. */