mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-30 08:24:11 +01:00
AHRS/FSM: Small initialization detail to make compile with -Os
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1610 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
66560786f4
commit
4a4932e5ff
@ -564,8 +564,8 @@ void lfsm_irq_callback(uint8_t crc_ok, uint8_t crc_val)
|
||||
}
|
||||
|
||||
/* Recover the head and tail pointers from the message */
|
||||
struct opahrs_msg_link_head * head;
|
||||
struct opahrs_msg_link_tail * tail;
|
||||
struct opahrs_msg_link_head * head = NULL;
|
||||
struct opahrs_msg_link_tail * tail = NULL;
|
||||
|
||||
switch (context.user_payload_type) {
|
||||
case OPAHRS_MSG_TYPE_USER_V0:
|
||||
|
Loading…
Reference in New Issue
Block a user