diff --git a/src/algorithms/tracking/libs/fpga_multicorrelator.cc b/src/algorithms/tracking/libs/fpga_multicorrelator.cc index fb7fcc0eb..c53141728 100644 --- a/src/algorithms/tracking/libs/fpga_multicorrelator.cc +++ b/src/algorithms/tracking/libs/fpga_multicorrelator.cc @@ -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