tests: kernel: timer: Fix TC_PRINT format specifiers
Pass Zephyr type format specifiers to TC_PRINT(). Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This commit is contained in:
parent
d8f85d736d
commit
a44e88df2a
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <inttypes.h>
|
||||
#include <tc_util.h>
|
||||
|
||||
int test_frequency(void)
|
||||
|
@ -57,9 +56,8 @@ void main(void)
|
|||
|
||||
if (t_now < t_last) {
|
||||
diff = t_now - t_last;
|
||||
TC_PRINT("diff = %" PRId32 " (t_last = %" PRIu32
|
||||
" : t_now = %" PRIu32 "); i = %u\n",
|
||||
diff, t_last, t_now, i);
|
||||
TC_PRINT("diff = %d (t_last = %u : t_now = %u);"
|
||||
"i = %u\n", diff, t_last, t_now, i);
|
||||
errors++;
|
||||
}
|
||||
t_last = t_now;
|
||||
|
|
Loading…
Reference in a new issue