kopia lustrzana https://github.com/PiInTheSky/lora-gateway
gateway.c: Only change GCC packing for TBinaryPacket struct
rodzic
7d501594c2
commit
ef7c9758cc
|
@ -173,7 +173,7 @@ int help_win_displayed = 0;
|
|||
|
||||
pthread_mutex_t var = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
#pragma pack(1)
|
||||
#pragma pack(push,1)
|
||||
|
||||
struct TBinaryPacket {
|
||||
uint8_t PayloadIDs;
|
||||
|
@ -184,6 +184,8 @@ struct TBinaryPacket {
|
|||
uint16_t Altitude;
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
// Create pipes for inter proces communication
|
||||
// GLOBAL AS CALLED FROM INTERRRUPT
|
||||
int telem_pipe_fd[2];
|
||||
|
|
Ładowanie…
Reference in New Issue