1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/pios/common
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
..
libraries OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_adxl345.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_bma180.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_bmp085.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_board_info.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_com_msg.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_com.c com/usart/cdc: ensure that device structs are memset before use 2013-05-11 22:40:59 +02:00
pios_crc.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_etasv3.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_flash_jedec.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_flashfs_logfs.c OP-936: Merges branch 'next' into hyper/OP-936_task-monitor-rework, fixes damage/conflicts, 2013-05-06 19:11:14 +09:30
pios_gcsrcvr.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_hcsr04.c Merge remote-tracking branch 'origin/next' into sambas/diffnext 2013-04-26 16:31:19 +03:00
pios_hmc5843.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_hmc5883.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_i2c_esc.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_iap.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_l3gd20.c Cherry-pick and hand-merge of Sami's math cleanup commit from branch sambas/diffnext: 5f3e0c3e1d 2013-04-28 10:45:28 +09:30
pios_mpu6000.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_mpxv.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_ms5611.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_rcvr.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_rfm22b_com.c OP-931: adds -Wextra compiler option for the flight code, and makes the bazillion code changes required 2013-05-05 16:32:24 +09:30
pios_rfm22b_rcvr.c OP-914: Additional cleanup of the RFM22B driver code. Updated to code to the current coding standard. Added Doxygen documentation. Rearranged functions into functional groups to simplify reading the code. 2013-04-27 01:44:55 +01:00
pios_rfm22b.c OP-932: Fixes a bug that was preventing setting of Tx power on remote modem. 2013-05-06 01:03:15 +01:00
pios_sbus.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_sdcard.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_task_monitor.c OP-936: Moves the task monitor code out of the flight library and into PiOS. 2013-05-03 07:01:14 +09:30
pios_usb_desc_hid_cdc.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_usb_desc_hid_only.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_usb_util.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00
pios_video.c Merge remote-tracking branch 'origin/next' into sambas/diffnext 2013-04-26 16:31:19 +03:00
pios_wavplay.c Rename flight/PiOS->flight/pios 2013-04-25 13:13:41 +03:00