1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00
Stacey Sheldon b56f5206bd com/usart/cdc: ensure that device structs are memset before use
CDC and USART device drivers were not all clearing their
device structs before using them.

This specifically caused crashes in the case where the upper
COM layer was binding only a Tx path.  The Rx path callback
in the lower driver was uninitialized random data and would
result in the lower driver faulting when it tried to call the
callback.

Conflicts:
	flight/PiOS/STM32F30x/pios_usart.c
	flight/PiOS/STM32F30x/pios_usb_cdc.c
	flight/PiOS/STM32F30x/pios_usb_hid.c
2013-05-11 22:40:59 +02:00
..
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-28 10:19:08 +02:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00
2013-04-25 13:13:41 +03:00