mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-04-24 03:21:29 +00:00
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:
commit
f0ca95ee7e
firmware/common
@ -27,6 +27,9 @@
|
|||||||
|
|
||||||
namespace sonde {
|
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
|
//Defines for Vaisala RS41, from https://github.com/rs1729/RS/blob/master/rs41/rs41sg.c
|
||||||
#define MASK_LEN 64
|
#define MASK_LEN 64
|
||||||
|
|
||||||
|
@ -32,9 +32,6 @@
|
|||||||
|
|
||||||
namespace sonde {
|
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 {
|
struct GPS_data {
|
||||||
uint32_t alt { 0 };
|
uint32_t alt { 0 };
|
||||||
float lat { 0 };
|
float lat { 0 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user