Skip to content

Commit

Permalink
debug_cmd: rename enum constant
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed May 17, 2024
1 parent d7bb75d commit 748e6e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/debug_cmd/debug_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


enum {
AUFILE_TIMEOUT = 5000,
FILEINFO_TIMEOUT = 5000,
};


Expand Down Expand Up @@ -205,7 +205,7 @@ static void fileinfo_timeout(void *arg)
module_event("debug_cmd", "aufileinfo", NULL, NULL,
"length = %lf seconds", s);
}
else if (tmr_jiffies() - st->t0 < AUFILE_TIMEOUT) {
else if (tmr_jiffies() - st->t0 < FILEINFO_TIMEOUT) {
tmr_start(&st->tmr, 5, fileinfo_timeout, st);
return;
}
Expand Down

0 comments on commit 748e6e5

Please sign in to comment.