Skip to content

Commit 2359f73

Browse files
committed
please just work
1 parent 745fd9a commit 2359f73

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

MIDAS/src/hilsim/kal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ DECLARE_THREAD(hilsim, void*arg) {
119119

120120
// ---- ENTRY FUNCS ----
121121
void k_run() {
122-
Serial.begin(115200);
122+
Serial.begin(921600);
123123
// while(!Serial);
124124

125125
k_push_event(K_START_E);

MIDAS/src/hilsim/stream/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,10 @@ int main(int argc, char** argv) {
438438
printf(".r %i\n", latency);
439439
fflush(stdout);
440440

441+
if (latency > (int)(skip_threshold*1000)) {
442+
continue;
443+
}
444+
441445
// check filter
442446
if(!ignore_disc[entry.disc]) {
443447
float randm = static_cast<float>(rand())/static_cast<float>(RAND_MAX);

0 commit comments

Comments
 (0)