File tree Expand file tree Collapse file tree 6 files changed +20
-6
lines changed Expand file tree Collapse file tree 6 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 1111 "url" : " https://github.com/m5stack/M5Utility.git"
1212 },
1313 "dependencies" : [],
14- "version" : " 0.0.5 " ,
14+ "version" : " 0.0.6 " ,
1515 "frameworks" : [
1616 " arduino"
1717 ],
Original file line number Diff line number Diff line change 11name =M5Utility
2- version =0.0.5
2+ version =0.0.6
33author =M5Stack
44maintainer =M5Stack
55sentence =Library for other M5 libraries and products
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ IRAM_ATTR unsigned long millis()
2222{
2323 return static_cast <unsigned long >(esp_timer_get_time () / 1000ULL );
2424}
25+
2526IRAM_ATTR unsigned long micros ()
2627{
2728 return static_cast <unsigned long >(esp_timer_get_time ());
Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ namespace utility {
2121/* !
2222 @brief Returns the number of milliseconds passed since the Arduino board began running the current program
2323 */
24- IRAM_ATTR unsigned long millis ();
24+ unsigned long millis ();
2525
2626/* !
2727 @brief Returns the number of microseconds since the Arduino board began running the current program
2828*/
29- IRAM_ATTR unsigned long micros ();
29+ unsigned long micros ();
3030
3131/* !
3232 @brief Pauses the program for the amount of time (in milliseconds) specified as parameter
Original file line number Diff line number Diff line change 1+ /*
2+ * SPDX-FileCopyrightText: 2025 M5Stack Technology CO LTD
3+ *
4+ * SPDX-License-Identifier: MIT
5+ */
6+ /* !
7+ @file circular_buffer.cpp
8+ @brief Circular buffer with STL-like interface
9+ */
10+ #include " circular_buffer.hpp"
11+ #if __cplusplus >= 201703L
12+ #pragma message "Using std::optional"
13+ #else
14+ #pragma message "Using m5::stl::optional"
15+ #endif
Original file line number Diff line number Diff line change 1515#include < iterator>
1616#include < cassert>
1717#if __cplusplus >= 201703L
18- #pragma message "Using std::optional"
1918#include < optional>
2019#else
21- #pragma message "Using m5::stl::optional"
2220#include " ../stl/optional.hpp"
2321#endif
2422
You can’t perform that action at this time.
0 commit comments