builds with no errors now
thanks DM4RCO :)
librarify
Wojciech Kaczmarski 2023-12-29 18:42:59 +01:00
rodzic cc72c63cce
commit e08b8c40ad
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -75,7 +75,7 @@ extern const uint16_t intrl_seq[368];
* @brief Structure holding Link Setup Frame data. * @brief Structure holding Link Setup Frame data.
* *
*/ */
typedef struct LSF struct LSF
{ {
uint8_t dst[6]; uint8_t dst[6];
uint8_t src[6]; uint8_t src[6];

Wyświetl plik

@ -9,7 +9,6 @@
//-------------------------------------------------------------------- //--------------------------------------------------------------------
#include <string.h> #include <string.h>
#include "m17crc.h" #include "m17crc.h"
#include "m17consts.h"
/** /**
* @brief Calculate CRC value. * @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. * @param in Pointer to an LSF struct.
* @return uint16_t CRC value. * @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]; uint8_t d[28];

Wyświetl plik

@ -11,6 +11,7 @@
extern "C" { extern "C" {
#endif #endif
#include <stdint.h> #include <stdint.h>
#include "m17consts.h"
//vars //vars
; ;