SubGHz: Fix typos (#2661)

Co-authored-by: hedger <hedger@users.noreply.github.com>
This commit is contained in:
MX
2023-05-11 12:10:20 +09:00
committed by GitHub
co-authored by hedger
parent 9914aa40bd
commit 9862876f06
5 changed files with 11 additions and 11 deletions
@@ -1,5 +1,5 @@
#include "subghz_txrx_i.h"
#include "subghz_txrx_create_potocol_key.h"
#include "subghz_txrx_create_protocol_key.h"
#include <lib/subghz/transmitter.h>
#include <lib/subghz/protocols/protocol_items.h>
#include <lib/subghz/protocols/protocol_items.h>
@@ -84,7 +84,7 @@ bool subghz_txrx_gen_data_protocol_and_te(
return ret;
}
bool subghz_txrx_gen_keelog_protocol(
bool subghz_txrx_gen_keeloq_protocol(
SubGhzTxRx* instance,
const char* name_preset,
uint32_t frequency,
@@ -54,7 +54,7 @@ bool subghz_txrx_gen_data_protocol_and_te(
* @param cnt Counter
* @return bool True if success
*/
bool subghz_txrx_gen_keelog_protocol(
bool subghz_txrx_gen_keeloq_protocol(
SubGhzTxRx* instance,
const char* name_preset,
uint32_t frequency,
@@ -1,5 +1,5 @@
#include "../subghz_i.h"
#include "../helpers/subghz_txrx_create_potocol_key.h"
#include "../helpers/subghz_txrx_create_protocol_key.h"
#include <lib/subghz/blocks/math.h>
#include <lib/subghz/protocols/protocol_items.h>
@@ -172,7 +172,7 @@ bool subghz_scene_set_type_on_event(void* context, SceneManagerEvent event) {
subghz->txrx, "AM650", 433920000, SUBGHZ_PROTOCOL_GATE_TX_NAME, rev_key, 24);
break;
case SubmenuIndexDoorHan_433_92:
generated_protocol = subghz_txrx_gen_keelog_protocol(
generated_protocol = subghz_txrx_gen_keeloq_protocol(
subghz->txrx, "AM650", 433920000, "DoorHan", key, 0x2, 0x0003);
if(!generated_protocol) {
furi_string_set(
@@ -181,7 +181,7 @@ bool subghz_scene_set_type_on_event(void* context, SceneManagerEvent event) {
}
break;
case SubmenuIndexDoorHan_315_00:
generated_protocol = subghz_txrx_gen_keelog_protocol(
generated_protocol = subghz_txrx_gen_keeloq_protocol(
subghz->txrx, "AM650", 315000000, "DoorHan", key, 0x2, 0x0003);
if(!generated_protocol) {
furi_string_set(