Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
data_dumper.cpp
- Committer:
- fionalin
- Date:
- 2022-08-04
- Revision:
- 2:d9745be6c253
File content as of revision 2:d9745be6c253:
#include "data_dumper.h" #include <algorithm> void dump_data(std::vector<std::tuple<int32_t, uint32_t>>& data) { for (auto& steps_tau_tuple: data) { printf("%d,%d\n", std::get<0>(steps_tau_tuple), std::get<1>(steps_tau_tuple)); } }; void clear_data(std::vector<std::tuple<int32_t, uint32_t>>& data) { data.clear(); };