Skip to content

Commit

Permalink
Update pru_sync_control.c
Browse files Browse the repository at this point in the history
  • Loading branch information
orgua committed Apr 19, 2024
1 parent 730b5d4 commit 5576a59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions software/kernel-module/src/pru_sync_control.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,7 @@ enum hrtimer_restart sync_loop_callback(struct hrtimer *timer_for_restart)
else if ((ts_last_error_ns + quiet_time_ns < ts_now_ns) &&
(ts_previous_ns + 2 * trigger_loop_period_ns < ts_now_ns) && (ts_previous_ns > 0))
{
// TODO: not working as expected, this should alarm when PRUs are offline
// TODO: when PRUs are halting this error pops up endlessly & ktimersoftd/0 has 50% CPU-Usage
// TODO: not working as expected, this routine should get notified when PRUs are offline
ts_last_error_ns = ts_now_ns;
printk(KERN_ERR "shprd.k: Faulty behavior - PRU did not answer to "
"trigger-request in time!");
Expand Down

0 comments on commit 5576a59

Please sign in to comment.