Skip to content

Commit

Permalink
enforce alignment of ADS-L temporary storage [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed May 3, 2024
1 parent 23406ec commit abb9fae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/firmware/source/SoftRF/src/protocol/radio/ADSL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ const rf_proto_desc_t adsl_proto_desc = {
};

static GPS_Position pos;
static ADSL_Packet r; /* Rx */
static ADSL_Packet t; /* Tx */
static ADSL_Packet r __attribute__((aligned(sizeof(uint32_t)))); /* Rx */
static ADSL_Packet t __attribute__((aligned(sizeof(uint32_t)))); /* Tx */

void adsl_init()
{
Expand Down

0 comments on commit abb9fae

Please sign in to comment.