ardupilot/libraries/AP_HAL_PX4
Lucas De Marchi 4df627693d AP_HAL_PX4: UARTDriver: fix writting with failures
When the buffer wraps and we do it in 2 steps, we can't actually do the
second part if it fails or if we wrote less bytes than we intended,
otherwise we will corrupt the data being sent.

While at it, just like in the write case, explain why we are stopping.
2016-10-27 14:23:43 +11:00
..
examples/simple Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AP_HAL_PX4.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
AP_HAL_PX4_Namespace.h Revert "AP_HAL_PX4: use new I2CDevice interface" 2016-05-11 12:19:00 +10:00
AnalogIn.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
AnalogIn.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
GPIO.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
GPIO.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
HAL_PX4_Class.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
HAL_PX4_Class.h AP_HAL_PX4: Remove unused extern declaration for HALs 2015-11-20 16:32:32 +09:00
I2CDevice.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
I2CDevice.h Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
I2CWrapper.h HAL_PX4: implement I2CDevice driver for PX4 2016-07-15 12:24:03 -03:00
NSHShellStream.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCInput.cpp HAL_PX4: fixed DSM bind on Pixracer 2016-10-13 19:58:00 +11:00
RCInput.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
RCOutput.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
RCOutput.h AP_HAL_PX4: defer calls to safety_state switch to queue an async attempt. 2016-05-27 21:34:40 +10:00
Scheduler.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
Scheduler.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
Semaphores.cpp AP_HAL_PX4 / Semaphores: removed AP_HAL_VRBRAIN (for now it's better to have different AP_HAL for PX4 and VRBRAIN) 2016-08-07 20:31:50 +10:00
Semaphores.h AP_HAL_PX4 / Semaphores: removed AP_HAL_VRBRAIN (for now it's better to have different AP_HAL for PX4 and VRBRAIN) 2016-08-07 20:31:50 +10:00
Storage.cpp HAL_PX4: work around a bus locking issue on Pixracer 2016-02-23 16:34:06 +11:00
Storage.h AP_HAL_PX4: replace header guard with pragma once 2016-03-16 18:40:41 +11:00
UARTDriver.cpp AP_HAL_PX4: UARTDriver: fix writting with failures 2016-10-27 14:23:43 +11:00
UARTDriver.h AP_HAL_PX4: UARTDriver: Make use of ByteBuffer class 2016-10-27 14:23:43 +11:00
Util.cpp HAL_PX4: limit IMU target temperature to 65 2016-09-05 12:59:50 +10:00
Util.h Global: Adapt Stream class to be used with Ringbuffer 2016-08-03 01:44:02 -03:00
px4_param.cpp Global: remove mode line from headers 2016-10-24 09:42:01 -02:00
system.cpp AP_HAL_PX4: implement new AP_HAL functions 2015-11-20 12:25:40 +09:00