require MODULE_NAME

This commit is contained in:
Daniel Agar
2018-11-10 13:52:34 -05:00
parent 8d15da379b
commit 246b879aea
9 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -347,7 +347,7 @@ hrt_tim_init(void)
ret = sam_tc_clockselect(frequency, &cmr, &actual);
if (ret < 0) {
PX4_PANIC("ERROR: Failed no divisor can be found (%d),for timer channel %d\n", ret, HRT_TIMER_CHANNEL);
printf("ERROR: Failed no divisor can be found (%d),for timer channel %d\n", ret, HRT_TIMER_CHANNEL);
return;
}
@@ -386,7 +386,7 @@ hrt_tim_init(void)
hrt_tch = sam_tc_allocate(HRT_TIMER_CHANNEL, cmr);
if (!hrt_tch) {
PX4_PANIC("ERROR: Failed to allocate timer channel %d\n", HRT_TIMER_CHANNEL);
printf("ERROR: Failed to allocate timer channel %d\n", HRT_TIMER_CHANNEL);
return;
}