SubRem Config internal module by default

This commit is contained in:
gid9798
2023-06-19 13:37:08 +03:00
parent ab12c8c339
commit a519a242d6

View File

@@ -62,10 +62,10 @@ SubGhzTxRx* subghz_txrx_alloc() {
instance->worker, (SubGhzWorkerPairCallback)subghz_receiver_decode); instance->worker, (SubGhzWorkerPairCallback)subghz_receiver_decode);
subghz_worker_set_context(instance->worker, instance->receiver); subghz_worker_set_context(instance->worker, instance->receiver);
//set default device External //set default device Internal
subghz_devices_init(); subghz_devices_init();
instance->radio_device_type = instance->radio_device_type =
subghz_txrx_radio_device_set(instance, SubGhzRadioDeviceTypeExternalCC1101); subghz_txrx_radio_device_set(instance, SubGhzRadioDeviceTypeInternal);
return instance; return instance;
} }