From 3de7fbb0a92616c657ac2e29d9b55f2de26971e6 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Thu, 5 May 2016 10:17:40 -0400 Subject: [PATCH] logger and uORBTest_UnitTest astyle --- src/modules/logger/logger.cpp | 2 +- src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/logger/logger.cpp b/src/modules/logger/logger.cpp index 9eb8ce68b0..f2da479d4b 100644 --- a/src/modules/logger/logger.cpp +++ b/src/modules/logger/logger.cpp @@ -504,7 +504,7 @@ void Logger::run() */ for (uint8_t instance = 0; instance < ORB_MULTI_MAX_INSTANCES; instance++) { if (copy_if_updated_multi(sub.metadata, instance, &sub.fd[instance], buffer + sizeof(message_data_header_s), - &sub.time_tried_subscribe)) { + &sub.time_tried_subscribe)) { message_data_header_s *header = reinterpret_cast(buffer); header->msg_type = static_cast(MessageType::DATA); diff --git a/src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp b/src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp index 5962b62d09..cf81d36e23 100644 --- a/src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp +++ b/src/modules/uORB/uORB_tests/uORBTest_UnitTest.hpp @@ -51,9 +51,9 @@ struct orb_test_medium { char junk[64]; }; ORB_DEFINE(orb_test_medium, struct orb_test_medium, sizeof(orb_test_medium), - "ORB_TEST_MEDIUM:int val;hrt_abstime time;char[64] junk;"); + "ORB_TEST_MEDIUM:int val;hrt_abstime time;char[64] junk;"); ORB_DEFINE(orb_test_medium_multi, struct orb_test_medium, sizeof(orb_test_medium), - "ORB_TEST_MEDIUM_MULTI:int val;hrt_abstime time;char[64] junk;"); + "ORB_TEST_MEDIUM_MULTI:int val;hrt_abstime time;char[64] junk;"); struct orb_test_large { @@ -62,7 +62,7 @@ struct orb_test_large { char junk[512]; }; ORB_DEFINE(orb_test_large, struct orb_test_large, sizeof(orb_test_large), - "ORB_TEST_LARGE:int val;hrt_abstime time;char[512] junk;"); + "ORB_TEST_LARGE:int val;hrt_abstime time;char[512] junk;"); namespace uORBTest