Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-goddard committed Sep 1, 2024
1 parent 4e57613 commit 3cfd895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Controller::Controller(int handle) : test_stand(TestStand(handle)), tui(TUI(&test_stand)), handle(handle) {
INIT_SCAN_RATE = 70;
SCANS_PER_READ = 1;

aDataSize = NUM_CHANNELS * SCANS_PER_READ;
aData = new double[sizeof(double) * aDataSize];
valid_input = false;
Expand All @@ -32,7 +32,7 @@ Controller::Controller(int handle) : test_stand(TestStand(handle)), tui(TUI(&tes
}

int file_count = 0;
for (const auto& entry : std::filesystem::directory_iterator("../data/")) {
for (const auto &entry : std::filesystem::directory_iterator("../data/")) {
if (std::filesystem::is_regular_file(entry.status())) {
file_count++;
}
Expand Down

0 comments on commit 3cfd895

Please sign in to comment.