mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
SubGhz: rename SubGhzPresetDefinition into SubGhzRadioPreset, cleanup subghz types.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user