More fixes

This commit is contained in:
Bertrand Songis
2019-12-05 09:57:54 +01:00
parent da26bbc3c6
commit 8af8f1b5e4
2 changed files with 8 additions and 4 deletions
+8 -3
View File
@@ -18,8 +18,8 @@
* GNU General Public License for more details.
*/
#ifndef _RAM_BACKUP_H_
#define _RAM_BACKUP_H_
#ifndef _RTC_BACKUP_H_
#define _RTC_BACKUP_H_
#include "definitions.h"
@@ -30,4 +30,9 @@ PACK(struct RamBackup {
extern RamBackup * ramBackup;
#endif // _RAM_BACKUP_H_
void rambackupWrite();
bool rambackupRestore();
unsigned int compress(uint8_t * dst, unsigned int dstsize, const uint8_t * src, unsigned int len);
unsigned int uncompress(uint8_t * dst, unsigned int dstsize, const uint8_t * src, unsigned int len);
#endif // _RTC_BACKUP_H_
-1
View File
@@ -16,7 +16,6 @@ set(NAVIGATION_TYPE horus)
set(TARGET_DIR horus)
set(LINKER_SCRIPT targets/horus/stm32f4_flash.ld)
set(RTC_BACKUP_RAM YES)
set(LUA YES)
set(PPM_LIMITS_SYMETRICAL YES)
set(USB_SERIAL ON CACHE BOOL "Enable USB serial (CDC)")