kernel: event_logger: convert to using newly introduced integer sized types
Convert code to use u{8,16,32,64}_t and s{8,16,32,64}_t instead of C99 integer types. Change-Id: I9ccb7c01a7d8c4ad8b1e55a1b45622aad2a57e57 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
5899d750e8
commit
05196f0320
|
@ -203,15 +203,15 @@ void _sys_k_event_logger_exit_sleep(void)
|
|||
static void log_thread_event(enum sys_k_event_logger_thread_event event,
|
||||
struct k_thread *thread)
|
||||
{
|
||||
uint32_t data[3];
|
||||
u32_t data[3];
|
||||
|
||||
if (!sys_k_must_log_event(KERNEL_EVENT_LOGGER_THREAD_EVENT_ID)) {
|
||||
return;
|
||||
}
|
||||
|
||||
data[0] = _sys_k_get_time();
|
||||
data[1] = (uint32_t)(thread ? thread : _kernel.current);
|
||||
data[2] = (uint32_t)event;
|
||||
data[1] = (u32_t)(thread ? thread : _kernel.current);
|
||||
data[2] = (u32_t)event;
|
||||
|
||||
sys_k_event_logger_put(KERNEL_EVENT_LOGGER_THREAD_EVENT_ID, data,
|
||||
ARRAY_SIZE(data));
|
||||
|
|
Loading…
Reference in a new issue