Browse Source

AP_HAL_ChibiOS: Fix comment in Device.cpp

This was decreased to 100 in b07c599bf2 . I assume it would be best to also update the comment.
mission-4.1.18
Hannes Verschore 7 years ago committed by Randy Mackay
parent
commit
fefde53d58
  1. 2
      libraries/AP_HAL_ChibiOS/Device.cpp

2
libraries/AP_HAL_ChibiOS/Device.cpp

@ -80,7 +80,7 @@ void DeviceBus::bus_thread(void *arg)
if (next_needed >= now && next_needed - now < delay) { if (next_needed >= now && next_needed - now < delay) {
delay = next_needed - now; delay = next_needed - now;
} }
// don't delay for less than 400usec, so one thread doesn't // don't delay for less than 100usec, so one thread doesn't
// completely dominate the CPU // completely dominate the CPU
if (delay < 100) { if (delay < 100) {
delay = 100; delay = 100;

Loading…
Cancel
Save