1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-18 21:23:02 +00:00

Fix initialization

This commit is contained in:
Carles Fernandez 2020-02-23 13:45:57 +01:00
parent 649a1d7be6
commit ce16b0e1a4
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -205,7 +205,7 @@ bool Fpga_Multicorrelator_8sc::free()
void Fpga_Multicorrelator_8sc::set_channel(uint32_t channel)
{
char device_io_name[max_length_deviceio_name] = '\0'; // driver io name
char device_io_name[max_length_deviceio_name] = ""; // driver io name
d_channel = channel;
// open the device corresponding to the assigned channel