diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:05:10 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:05:10 -0500 |
commit | 154d99ef6bd31f5407c38a9c29680ddf59f3b68f (patch) | |
tree | a31fc00c7725a2b558de0ef68fb48bb9d25309e0 | |
parent | b394fbca77e84752d140d05857bc10ea225a79af (diff) |
revert last; doesn't work
-rw-r--r-- | parser.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1222,11 +1222,6 @@ static int Go_int_eprom_48(gchar** response, int channel, char *loc_string,char switch (command_type) { case command_param_units: the_number=(short) atoi(store_string); - - if ((the_number < 0) || (the_number > 0xffff)) { - return OutOfRange; - } - *(short *)(&globals.Flash.flash_start + eprom_loc) = the_number; writeUserBlock(&globals.Flash, eprom_loc, sizeof (the_number)); return OK; @@ -1296,11 +1291,6 @@ static int Go_char_eprom_70(gchar** response, int channel, char *loc_string,char switch (command_type) { case command_param_units: the_number=(char) atoi(store_string); - - if ((the_number < 0) || (the_number > 0xff)) { - return OutOfRange; - } - *(char *)(&globals.Flash.flash_start + eprom_loc)=the_number; writeUserBlock(&globals.Flash, eprom_loc, sizeof(the_number)); |