kopia lustrzana https://github.com/M17-Project/M17_Implementations
rodzic
cc72c63cce
commit
e08b8c40ad
|
@ -75,7 +75,7 @@ extern const uint16_t intrl_seq[368];
|
|||
* @brief Structure holding Link Setup Frame data.
|
||||
*
|
||||
*/
|
||||
typedef struct LSF
|
||||
struct LSF
|
||||
{
|
||||
uint8_t dst[6];
|
||||
uint8_t src[6];
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
//--------------------------------------------------------------------
|
||||
#include <string.h>
|
||||
#include "m17crc.h"
|
||||
#include "m17consts.h"
|
||||
|
||||
/**
|
||||
* @brief Calculate CRC value.
|
||||
|
@ -42,7 +41,7 @@ uint16_t CRC_M17(const uint8_t *in, const uint16_t len)
|
|||
* @param in Pointer to an LSF struct.
|
||||
* @return uint16_t CRC value.
|
||||
*/
|
||||
uint16_t LSF_CRC(const struct LSF_t *in)
|
||||
uint16_t LSF_CRC(const struct LSF *in)
|
||||
{
|
||||
uint8_t d[28];
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
#include "m17consts.h"
|
||||
|
||||
//vars
|
||||
;
|
||||
|
|
Ładowanie…
Reference in New Issue