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.
This commit is contained in:
Lucas De Marchi 2015-11-03 11:46:40 -02:00 committed by Andrew Tridgell
parent ca4ae1c9e0
commit 1e839f97ed
2 changed files with 0 additions and 8 deletions

View File

@ -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

View File

@ -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