diff --git a/library.json b/library.json index cd05f8c..087470b 100644 --- a/library.json +++ b/library.json @@ -14,9 +14,6 @@ { "name": "M5Utility" }, - { - "name": "M5UnitComponent" - }, { "name": "M5HAL" } diff --git a/library.properties b/library.properties index 84b99d7..4ca419b 100644 --- a/library.properties +++ b/library.properties @@ -8,4 +8,4 @@ category=Other url=https://github.com/m5stack/M5UnitUnified.git architectures=esp32 includes=M5UnitUnified.h -depends=M5Utility,M5UnitComponent,M5HAL +depends=M5Utility,,M5HAL diff --git a/src/m5_unit_component/types.hpp b/src/m5_unit_component/types.hpp index 4d25112..e2f8e0f 100644 --- a/src/m5_unit_component/types.hpp +++ b/src/m5_unit_component/types.hpp @@ -20,9 +20,9 @@ namespace unit { */ namespace types { -using uid_t = uint32_t; //!< @brief Component unique identifier -using attr_t = uint32_t; //!< @brief Component attribute bits -using elapsed_time_t = unsigned long; //!< @brief Elapsed time unit (ms) +using uid_t = uint32_t; //!< @brief Component unique identifier +using attr_t = uint32_t; //!< @brief Component attribute bits +using elapsed_time_t = unsigned long; //!< @brief Elapsed time unit (ms) } // namespace types } // namespace unit diff --git a/src/m5_unit_component/utility.cpp b/src/m5_unit_component/utility.cpp index 42cffd7..b008642 100644 --- a/src/m5_unit_component/utility.cpp +++ b/src/m5_unit_component/utility.cpp @@ -13,7 +13,7 @@ namespace m5 { namespace unit { namespace utility { -//m5::utility::CRC8_Checksum WithCRC::crc8; +// m5::utility::CRC8_Checksum WithCRC::crc8; } // namespace utility } // namespace unit diff --git a/src/m5_unit_component/utility.hpp b/src/m5_unit_component/utility.hpp index 8fe7e94..cfeac27 100644 --- a/src/m5_unit_component/utility.hpp +++ b/src/m5_unit_component/utility.hpp @@ -20,9 +20,7 @@ namespace unit { @namespace utility @brief Utilities for M5UnitComponent */ -namespace utility { - -} // namespace utility +namespace utility {} // namespace utility } // namespace unit } // namespace m5