[FL-1956] Fix long packets bug, fix Manchester overrun (#766)

Also fix RC6 test to detect this manchester bug
This commit is contained in:
Albert Kharisov
2021-10-16 16:00:21 +04:00
committed by GitHub
parent 2255060d52
commit 98830a8a41
12 changed files with 174 additions and 38 deletions

View File

@@ -5,6 +5,7 @@
#include "pb_decode.h"
#include "rpc/rpc_i.h"
#include "storage.pb.h"
#include "storage/filesystem-api-defines.h"
#include "storage/storage.h"
#include <furi.h>
#include "../minunit.h"
@@ -104,7 +105,8 @@ static void clean_directory(Storage* fs_api, const char* clean_dir) {
if(fileinfo.flags & FSF_DIRECTORY) {
clean_directory(fs_api, fullname);
}
storage_common_remove(fs_api, fullname);
FS_Error error = storage_common_remove(fs_api, fullname);
furi_assert(error == FSE_OK);
free(fullname);
}
free(name);