Rename + don't touch power and module type on start

This commit is contained in:
MX
2023-05-26 19:06:26 +03:00
parent 3e09793b54
commit 9c520c5188
39 changed files with 7 additions and 7 deletions
@@ -1,8 +1,8 @@
App(
appid="subrem_configurator",
name="SubRem Configurator",
name="SubGHz Remote Configurator",
apptype=FlipperAppType.EXTERNAL,
entry_point="subghz_remote_app",
entry_point="subghz_remote_config_app",
requires=[
"gui",
"dialogs",

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before

Width:  |  Height:  |  Size: 102 B

After

Width:  |  Height:  |  Size: 102 B

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 154 B

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 299 B

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

@@ -28,7 +28,7 @@ SubGhzRemoteApp* subghz_remote_app_alloc() {
//FURI_LOG_E(TAG, "Could not create folder %s", SUBREM_APP_FOLDER);
}
furi_record_close(RECORD_STORAGE);
/*
// Enable power for External CC1101 if it is connected
furi_hal_subghz_enable_ext_power();
// Auto switch to internal radio if external radio is not available
@@ -39,7 +39,7 @@ SubGhzRemoteApp* subghz_remote_app_alloc() {
}
furi_hal_power_suppress_charge_enter();
*/
app->file_path = furi_string_alloc();
furi_string_set(app->file_path, SUBREM_APP_FOLDER);
@@ -125,14 +125,14 @@ SubGhzRemoteApp* subghz_remote_app_alloc() {
void subghz_remote_app_free(SubGhzRemoteApp* app) {
furi_assert(app);
/*
furi_hal_power_suppress_charge_exit();
// Disable power for External CC1101 if it was enabled and module is connected
furi_hal_subghz_disable_ext_power();
// Reinit SPI handles for internal radio / nfc
furi_hal_subghz_init_radio_type(SubGhzRadioInternal);
*/
// Submenu
view_dispatcher_remove_view(app->view_dispatcher, SubRemViewIDSubmenu);
submenu_free(app->submenu);
@@ -183,7 +183,7 @@ void subghz_remote_app_free(SubGhzRemoteApp* app) {
free(app);
}
int32_t subghz_remote_app(void* p) {
int32_t subghz_remote_config_app(void* p) {
UNUSED(p);
SubGhzRemoteApp* subghz_remote_app = subghz_remote_app_alloc();