mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
fmt [ci skip]
This commit is contained in:
@@ -19,7 +19,7 @@ static void ibutton_cli_print_usage(void) {
|
|||||||
printf("\tCyfral (2 bytes key_data)\r\n");
|
printf("\tCyfral (2 bytes key_data)\r\n");
|
||||||
printf("\tMetakom (4 bytes key_data), must contain correct parity\r\n");
|
printf("\tMetakom (4 bytes key_data), must contain correct parity\r\n");
|
||||||
printf("\t<key_data> are hex-formatted\r\n");
|
printf("\t<key_data> are hex-formatted\r\n");
|
||||||
};
|
}
|
||||||
|
|
||||||
static bool ibutton_cli_parse_key(iButtonProtocols* protocols, iButtonKey* key, FuriString* args) {
|
static bool ibutton_cli_parse_key(iButtonProtocols* protocols, iButtonKey* key, FuriString* args) {
|
||||||
bool result = false;
|
bool result = false;
|
||||||
@@ -112,7 +112,7 @@ static void ibutton_cli_read(PipeSide* pipe) {
|
|||||||
ibutton_protocols_free(protocols);
|
ibutton_protocols_free(protocols);
|
||||||
|
|
||||||
furi_event_flag_free(event);
|
furi_event_flag_free(event);
|
||||||
};
|
}
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
FuriEventFlag* event;
|
FuriEventFlag* event;
|
||||||
@@ -214,7 +214,7 @@ void ibutton_cli_emulate(PipeSide* pipe, FuriString* args) {
|
|||||||
ibutton_key_free(key);
|
ibutton_key_free(key);
|
||||||
ibutton_worker_free(worker);
|
ibutton_worker_free(worker);
|
||||||
ibutton_protocols_free(protocols);
|
ibutton_protocols_free(protocols);
|
||||||
};
|
}
|
||||||
|
|
||||||
static void execute(PipeSide* pipe, FuriString* args, void* context) {
|
static void execute(PipeSide* pipe, FuriString* args, void* context) {
|
||||||
UNUSED(context);
|
UNUSED(context);
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
static void onewire_cli_print_usage(void) {
|
static void onewire_cli_print_usage(void) {
|
||||||
printf("Usage:\r\n");
|
printf("Usage:\r\n");
|
||||||
printf("onewire search\r\n");
|
printf("onewire search\r\n");
|
||||||
};
|
}
|
||||||
|
|
||||||
static void onewire_cli_search(PipeSide* pipe) {
|
static void onewire_cli_search(PipeSide* pipe) {
|
||||||
UNUSED(pipe);
|
UNUSED(pipe);
|
||||||
|
|||||||
Reference in New Issue
Block a user