PX4/Firmware — pull request #531 by thomasgubler (2013-11-17 12:49:04+00:00)
Title: l1: change a max to min in wp switch-distance calculation

compare: https://github.com/diydrones/ardupilot/blob/master/libraries/AP_L1_Control/AP_L1_Control.cpp?source=cc#L73