From 1e839f97ed4bbb346ca35ea314cfa00a2104e764 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 3 Nov 2015 11:46:40 -0200 Subject: [PATCH] DataFlash: 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/DataFlash/DataFlash.h | 4 ---- libraries/DataFlash/DataFlash_Backend.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/libraries/DataFlash/DataFlash.h b/libraries/DataFlash/DataFlash.h index 25a6de6c5f..0294738892 100644 --- a/libraries/DataFlash/DataFlash.h +++ b/libraries/DataFlash/DataFlash.h @@ -913,11 +913,7 @@ Format characters in the format string for binary log messages { LOG_RPM_MSG, sizeof(log_RPM), \ "RPM", "Qff", "TimeUS,rpm1,rpm2" } -#if HAL_CPU_CLASS >= HAL_CPU_CLASS_75 #define LOG_COMMON_STRUCTURES LOG_BASE_STRUCTURES, LOG_EXTRA_STRUCTURES -#else -#define LOG_COMMON_STRUCTURES LOG_BASE_STRUCTURES -#endif // message types 0 to 128 reversed for vehicle specific use diff --git a/libraries/DataFlash/DataFlash_Backend.h b/libraries/DataFlash/DataFlash_Backend.h index 104d13150b..604e688976 100644 --- a/libraries/DataFlash/DataFlash_Backend.h +++ b/libraries/DataFlash/DataFlash_Backend.h @@ -1,10 +1,6 @@ #ifndef DATAFLASH_BACKEND_H #define DATAFLASH_BACKEND_H -#if HAL_CPU_CLASS < HAL_CPU_CLASS_75 -#define DATAFLASH_NO_CLI -#endif - #include "DataFlash.h" class DataFlash_Backend