Merge pull request #274 from GullCode/sonde_packet_warning_fix

Moved calibytes and calfrchk to cpp file to avoid unused warning
This commit is contained in:
Erwin Ried 2021-02-03 22:06:27 +01:00 committed by GitHub
commit f0ca95ee7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -27,6 +27,9 @@
namespace sonde {
static uint8_t calibytes[51*16]; //need these vars to survive
static uint8_t calfrchk[51]; //so subframes are preserved while populated
//Defines for Vaisala RS41, from https://github.com/rs1729/RS/blob/master/rs41/rs41sg.c
#define MASK_LEN 64

View File

@ -32,9 +32,6 @@
namespace sonde {
static uint8_t calibytes[51*16]; //need these vars to survive
static uint8_t calfrchk[51]; //so subframes are preserved while populated
struct GPS_data {
uint32_t alt { 0 };
float lat { 0 };
@ -105,4 +102,4 @@ private:
} /* namespace sonde */
#endif/*__SONDE_PACKET_H__*/
#endif/*__SONDE_PACKET_H__*/