globals.h: comment added

This commit is contained in:
Klaus K Wilting 2020-10-03 12:33:41 +02:00
parent 85c235573b
commit a0a041b1d1

View File

@ -60,6 +60,7 @@ enum runmode_t {
};
// 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)) {
uint8_t loradr; // 0-15, lora datarate
uint8_t txpower; // 2-15, lora tx power