SubGhz: refactoring add descriptions (#1012)
* SubGhz: add descriptions * SubGhz: fix syntax Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		| @@ -177,7 +177,7 @@ SubGhz* subghz_alloc() { | ||||
|         subghz->txrx->environment, "/ext/subghz/assets/came_atomo"); | ||||
|     subghz_environment_set_nice_flor_s_rainbow_table_file_name( | ||||
|         subghz->txrx->environment, "/ext/subghz/assets/nice_flor_s"); | ||||
|     subghz->txrx->receiver = subghz_receiver_alloc(subghz->txrx->environment); | ||||
|     subghz->txrx->receiver = subghz_receiver_alloc_init(subghz->txrx->environment); | ||||
|     subghz_receiver_set_filter(subghz->txrx->receiver, SubGhzProtocolFlag_Decodable); | ||||
|  | ||||
|     subghz_worker_set_overrun_callback( | ||||
|   | ||||
| @@ -246,7 +246,7 @@ void subghz_cli_command_rx(Cli* cli, string_t args, void* context) { | ||||
|     subghz_environment_set_nice_flor_s_rainbow_table_file_name( | ||||
|         environment, "/ext/subghz/assets/nice_flor_s"); | ||||
|  | ||||
|     SubGhzReceiver* receiver = subghz_receiver_alloc(environment); | ||||
|     SubGhzReceiver* receiver = subghz_receiver_alloc_init(environment); | ||||
|     subghz_receiver_set_filter(receiver, SubGhzProtocolFlag_Decodable); | ||||
|     subghz_receiver_set_rx_callback(receiver, subghz_cli_command_rx_callback, instance); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user