Commit cfe1ff7b authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Alessandro Rubini

userspace/wrsw_hal: fix empty string in trace message

parent f2ee3eb0
......@@ -36,6 +36,7 @@ int hal_init_timing()
{
TRACE(TRACE_INFO,"Not timing mode specified in the config file. Defaulting to Boundary Clock.");
timing_mode = HAL_TIMING_MODE_BC;
strcpy (str, "BoundaryClock");
} else {
if(!strcasecmp(str, "GrandMaster") || !strcasecmp(str, "GM"))
timing_mode = HAL_TIMING_MODE_GRAND_MASTER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment