More fixes
This commit is contained in:
@@ -18,8 +18,8 @@
|
|||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _RAM_BACKUP_H_
|
#ifndef _RTC_BACKUP_H_
|
||||||
#define _RAM_BACKUP_H_
|
#define _RTC_BACKUP_H_
|
||||||
|
|
||||||
#include "definitions.h"
|
#include "definitions.h"
|
||||||
|
|
||||||
@@ -30,4 +30,9 @@ PACK(struct RamBackup {
|
|||||||
|
|
||||||
extern RamBackup * 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_
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ set(NAVIGATION_TYPE horus)
|
|||||||
set(TARGET_DIR horus)
|
set(TARGET_DIR horus)
|
||||||
set(LINKER_SCRIPT targets/horus/stm32f4_flash.ld)
|
set(LINKER_SCRIPT targets/horus/stm32f4_flash.ld)
|
||||||
set(RTC_BACKUP_RAM YES)
|
set(RTC_BACKUP_RAM YES)
|
||||||
set(LUA YES)
|
|
||||||
set(PPM_LIMITS_SYMETRICAL YES)
|
set(PPM_LIMITS_SYMETRICAL YES)
|
||||||
set(USB_SERIAL ON CACHE BOOL "Enable USB serial (CDC)")
|
set(USB_SERIAL ON CACHE BOOL "Enable USB serial (CDC)")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user