SubGhz: rename SubGhzPresetDefinition into SubGhzRadioPreset, cleanup subghz types.

This commit is contained in:
MX
2022-10-19 18:52:21 +03:00
parent 3807d61034
commit a3c6d8bb4a
94 changed files with 213 additions and 222 deletions

View File

@@ -86,7 +86,7 @@ WeatherStationApp* weather_station_app_alloc() {
//init Worker & Protocol & History
app->lock = WSLockOff;
app->txrx = malloc(sizeof(WeatherStationTxRx));
app->txrx->preset = malloc(sizeof(SubGhzPresetDefinition));
app->txrx->preset = malloc(sizeof(SubGhzRadioPreset));
app->txrx->preset->name = furi_string_alloc();
ws_preset_init(app, "AM650", subghz_setting_get_default_frequency(app->setting), NULL, 0);