Storage: force mount (#3033)
* Storage: count opened files * Storage: sd mount * Storage: prompt to mount SD card if not mounted * F18: update API * F18: update API version * Fix logger naming scheme * Storage: storage_files_count -> storage_open_files_count Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <furi_hal.h>
|
||||
#include "../cc1101_configs.h"
|
||||
|
||||
#define TAG "SubGhzDeviceCC1101Int"
|
||||
#define TAG "SubGhzDeviceCc1101Int"
|
||||
|
||||
static bool subghz_device_cc1101_int_interconnect_is_frequency_valid(uint32_t frequency) {
|
||||
bool ret = furi_hal_subghz_is_frequency_valid(frequency);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocoAlutech_at_4n"
|
||||
#define TAG "SubGhzProtocoAlutechAt4n"
|
||||
|
||||
#define SUBGHZ_NO_ALUTECH_AT_4N_RAINBOW_TABLE 0xFFFFFFFF
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "../blocks/math.h"
|
||||
|
||||
// protocol BERNER / ELKA / TEDSEN / TELETASTER
|
||||
#define TAG "SubGhzProtocolBETT"
|
||||
#define TAG "SubGhzProtocolBett"
|
||||
|
||||
#define DIP_P 0b11 //(+)
|
||||
#define DIP_O 0b10 //(0)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <lib/toolbox/stream/stream.h>
|
||||
#include <lib/flipper_format/flipper_format_i.h>
|
||||
|
||||
#define TAG "SubGhzProtocolBinRAW"
|
||||
#define TAG "SubGhzProtocolBinRaw"
|
||||
|
||||
//change very carefully, RAM ends at the most inopportune moment
|
||||
#define BIN_RAW_BUF_RAW_SIZE 2048
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define TAG "SubGhzProtocolCAME"
|
||||
#define TAG "SubGhzProtocolCame"
|
||||
#define CAME_12_COUNT_BIT 12
|
||||
#define CAME_24_COUNT_BIT 24
|
||||
#define PRASTEL_COUNT_BIT 25
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define TAG "SubGhzProtocolCAME_Twee"
|
||||
#define TAG "SubGhzProtocolCameTwee"
|
||||
|
||||
#define DIP_PATTERN "%c%c%c%c%c%c%c%c%c%c"
|
||||
#define CNT_TO_DIP(dip) \
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocolChamb_Code"
|
||||
#define TAG "SubGhzProtocolChambCode"
|
||||
|
||||
#define CHAMBERLAIN_CODE_BIT_STOP 0b0001
|
||||
#define CHAMBERLAIN_CODE_BIT_1 0b0011
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocolFaacSHL"
|
||||
#define TAG "SubGhzProtocolFaacShl"
|
||||
|
||||
static const SubGhzBlockConst subghz_protocol_faac_slh_const = {
|
||||
.te_short = 255,
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define TAG "SubGhzProtocolHoltek_HT12X"
|
||||
#define TAG "SubGhzProtocolHoltekHt12x"
|
||||
|
||||
#define DIP_PATTERN "%c%c%c%c%c%c%c%c"
|
||||
#define CNT_TO_DIP(dip) \
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocolHoneywellWDB"
|
||||
#define TAG "SubGhzProtocolHoneywellWdb"
|
||||
|
||||
/*
|
||||
*
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocolHormannHSM"
|
||||
#define TAG "SubGhzProtocolHormannHsm"
|
||||
|
||||
#define HORMANN_HSM_PATTERN 0xFF000000003
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocol_iDo_117/111"
|
||||
#define TAG "SubGhzProtocolIdo117/111"
|
||||
|
||||
static const SubGhzBlockConst subghz_protocol_ido_const = {
|
||||
.te_short = 450,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocoKIA"
|
||||
#define TAG "SubGhzProtocoKia"
|
||||
|
||||
static const SubGhzBlockConst subghz_protocol_kia_const = {
|
||||
.te_short = 250,
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocoKingGates_stylo_4k"
|
||||
#define TAG "SubGhzProtocoKingGatesStylo4k"
|
||||
|
||||
static const SubGhzBlockConst subghz_protocol_kinggates_stylo_4k_const = {
|
||||
.te_short = 400,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocolNiceFLO"
|
||||
#define TAG "SubGhzProtocolNiceFlo"
|
||||
|
||||
static const SubGhzBlockConst subghz_protocol_nice_flo_const = {
|
||||
.te_short = 700,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "../blocks/generic.h"
|
||||
#include "../blocks/math.h"
|
||||
|
||||
#define TAG "SubGhzProtocolPhoenix_V2"
|
||||
#define TAG "SubGhzProtocolPhoenixV2"
|
||||
|
||||
//transmission only static mode
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <flipper_format/flipper_format_i.h>
|
||||
#include <lib/toolbox/stream/stream.h>
|
||||
|
||||
#define TAG "SubGhzProtocolRAW"
|
||||
#define TAG "SubGhzProtocolRaw"
|
||||
#define SUBGHZ_DOWNLOAD_MAX_SIZE 512
|
||||
|
||||
static const SubGhzBlockConst subghz_protocol_raw_const = {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* https://github.com/merbanan/rtl_433/blob/master/src/devices/secplus_v1.c
|
||||
*/
|
||||
|
||||
#define TAG "SubGhzProtocoSecPlus_v1"
|
||||
#define TAG "SubGhzProtocoSecPlusV1"
|
||||
|
||||
#define SECPLUS_V1_BIT_ERR -1 //0b0000
|
||||
#define SECPLUS_V1_BIT_0 0 //0b0001
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* https://github.com/merbanan/rtl_433/blob/master/src/devices/secplus_v2.c
|
||||
*/
|
||||
|
||||
#define TAG "SubGhzProtocoSecPlus_v2"
|
||||
#define TAG "SubGhzProtocoSecPlusV2"
|
||||
|
||||
#define SECPLUS_V2_HEADER 0x3C0000000000
|
||||
#define SECPLUS_V2_HEADER_MASK 0xFFFF3C0000000000
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#define TAG "SubGhzProtocolSMC5326"
|
||||
#define TAG "SubGhzProtocolSmc5326"
|
||||
|
||||
#define DIP_P 0b11 //(+)
|
||||
#define DIP_O 0b10 //(0)
|
||||
|
||||
Reference in New Issue
Block a user