summaryrefslogtreecommitdiff
path: root/app/bin/celev.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/bin/celev.c')
-rw-r--r--app/bin/celev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/bin/celev.c b/app/bin/celev.c
index 2677f2e..11de45a 100644
--- a/app/bin/celev.c
+++ b/app/bin/celev.c
@@ -55,7 +55,7 @@ static paramData_t elevationPLs[] = {
#define I_GRADE (3)
{ PD_MESSAGE, NULL, "grade", 0, (void*)80 },
#define I_STATION (4)
- { PD_STRING, elevStationV, "station", PDO_DLGUNDERCMDBUTT, (void*)200 } };
+ { PD_STRING, elevStationV, "station", PDO_DLGUNDERCMDBUTT|PDO_STRINGLIMITLENGTH, (void*)200, NULL, 0, (void *)sizeof(elevStationV) } };
static paramGroup_t elevationPG = { "elev", 0, elevationPLs, sizeof elevationPLs/sizeof elevationPLs[0] };