From 45c472205b074c3b7eb36972037b3053cc77d5e1 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 3 Nov 2015 11:46:40 -0200 Subject: [PATCH] GCS_MAVLink: remove check for AVR CPUs Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be removed on separate commits. --- libraries/GCS_MAVLink/MAVLink_routing.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/GCS_MAVLink/MAVLink_routing.h b/libraries/GCS_MAVLink/MAVLink_routing.h index f9dcfce38c..2ad800e15c 100644 --- a/libraries/GCS_MAVLink/MAVLink_routing.h +++ b/libraries/GCS_MAVLink/MAVLink_routing.h @@ -12,11 +12,7 @@ // 20 routes should be enough for now. This may need to increase as // we make more extensive use of MAVLink forwarding -#if HAL_CPU_CLASS > HAL_CPU_CLASS_16 #define MAVLINK_MAX_ROUTES 20 -#else -#define MAVLINK_MAX_ROUTES 5 -#endif /* object to handle MAVLink packet routing