mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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:
parent
ca4ae1c9e0
commit
1e839f97ed
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user