From b902316139e40b01db898a22d4881d0054db15b2 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 17 Jun 2019 14:07:44 +1000 Subject: [PATCH] AP_HAL: remove buggy write implementation --- libraries/AP_HAL/utility/BetterStream.cpp | 10 ---------- libraries/AP_HAL/utility/BetterStream.h | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/libraries/AP_HAL/utility/BetterStream.cpp b/libraries/AP_HAL/utility/BetterStream.cpp index 87f8f0e9c9..d140ec7456 100644 --- a/libraries/AP_HAL/utility/BetterStream.cpp +++ b/libraries/AP_HAL/utility/BetterStream.cpp @@ -15,16 +15,6 @@ void AP_HAL::BetterStream::vprintf(const char *fmt, va_list ap) print_vprintf(this, fmt, ap); } -size_t AP_HAL::BetterStream::write(const uint8_t *buffer, size_t size) -{ - for (size_t i=0; i