Skip to content

Commit

Permalink
Set defailt last station to lower number to prevent memory crash
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lee committed Jan 4, 2024
1 parent effec4e commit ba29d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meal_pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Meal_Pager* meal_pager_app_alloc() {
app->first_station = 0;
app->first_station_char = "0";
app->last_station = 255;
app->last_station_char = "255";
app->last_station_char = "10";
app->first_pager = 0;
app->first_pager_char = "0";
app->last_pager = 31;
Expand Down

0 comments on commit ba29d9a

Please sign in to comment.