globals.h: comment added
This commit is contained in:
parent
85c235573b
commit
a0a041b1d1
@ -60,6 +60,7 @@ enum runmode_t {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Struct holding devices's runtime configuration
|
// Struct holding devices's runtime configuration
|
||||||
|
// using packed to avoid compiler padding, because struct will be memcpy'd to byte array
|
||||||
typedef struct __attribute__((packed)) {
|
typedef struct __attribute__((packed)) {
|
||||||
uint8_t loradr; // 0-15, lora datarate
|
uint8_t loradr; // 0-15, lora datarate
|
||||||
uint8_t txpower; // 2-15, lora tx power
|
uint8_t txpower; // 2-15, lora tx power
|
||||||
|
Loading…
Reference in New Issue
Block a user