1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +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:
peabody124 2010-09-13 19:04:37 +00:00 committed by peabody124
parent 66560786f4
commit 4a4932e5ff

View File

@ -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: