Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Commit

Permalink
Optimized structure layout.
Browse files Browse the repository at this point in the history
Removed maglut and log10lut. Not used any longer.
  • Loading branch information
Mictronics committed Feb 22, 2017
1 parent 9de8db8 commit 44e32bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dump1090.h
Expand Up @@ -286,6 +286,7 @@ struct { // Internal state
int freq;
int ppm_error;
char aneterr[ANET_ERR_LEN];
uint32_t padding1;
struct net_service *services; // Active services
struct client *clients; // Our clients
struct aircraft *aircrafts;
Expand Down Expand Up @@ -343,7 +344,9 @@ struct { // Internal state
int json_aircraft_history_next;
int stats_latest_1min;
int bUserFlags; // Flags relating to the user details
uint32_t padding;
#if defined(__arm__)
uint32_t padding2;
#endif
struct stats stats_current;
struct stats stats_alltime;
struct stats stats_periodic;
Expand Down

0 comments on commit 44e32bc

Please sign in to comment.