1
0
mirror of https://github.com/CovidBraceletPrj/CovidBracelet.git synced 2024-11-12 22:48:52 +01:00

Move sequence-number utils to ens folder aswell

This commit is contained in:
H1ghBre4k3r 2021-04-12 19:07:28 +02:00 committed by Patrick Rathje
parent d38996a021
commit cfa29284a3
5 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,8 @@
#include "ens_fs.h"
#include <drivers/flash.h>
#include <storage/flash_map.h>
#include "ens_fs.h"
int ens_fs_init(ens_fs_t* fs, uint8_t id, uint64_t entry_size) {
int rc = flash_area_open(id, &fs->area);
if (rc) {

View File

@ -1,4 +1,5 @@
#include <string.h>
#include "records.h"
#include "covid_types.h"

View File

@ -6,7 +6,7 @@
#include <string.h>
#include <zephyr.h>
#include "../sequencenumber.h"
#include "sequencenumber.h"
#include "storage.h"
// Get external flash device