Commit c71f7adf authored by Dimitris Lampridis's avatar Dimitris Lampridis

sw: fix wrong wrtd_log_reason_type calculation when writing to the log

parent 14b92b6d
......@@ -95,7 +95,7 @@ static void adcin_input(struct wrtd_adcin_dev *adcin)
ev.flags = 0;
wrtd_log(WRTD_LOG_MSG_EV_GENERATED,
WRTD_LOG_GENERATED_DEVICE + i, &ev, NULL);
WRTD_LOG_GENERATED_DEVICE + (i * 8), &ev, NULL);
/* Pass to wrtd. */
wrtd_route_in(&ev);
......
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