summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authorroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:04:36 +0900
committerroot <root@avtech.domain.avtechpulse.com>1970-01-01 09:04:36 +0900
commite54f6f8019d03dc3f66e68b6442a23ddb820cc32 (patch)
tree8620199b6d4dcd87819129d44cc2b3d54b98acc9 /flash.c
parent9e02a7ee2335ba91e5bd0cbb79ab8a5a58f57bde (diff)
fix rs232 and flash initialization
Diffstat (limited to 'flash.c')
-rw-r--r--flash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/flash.c b/flash.c
index d371c39..69cb09f 100644
--- a/flash.c
+++ b/flash.c
@@ -1045,6 +1045,9 @@ void fixFlash(FlashStruct *mem)
eprom_loc = (char *) &(mem->model_num) - (char *) &(mem->flash_start);
writeUserBlock(&globals.Flash, eprom_loc, sizeof(mem->model_num));
+
+ eprom_loc = (char *) &(mem->fix_pw_dac_val) - (char *) &(mem->flash_start);
+ writeUserBlock(&globals.Flash, eprom_loc, sizeof(mem->fix_pw_dac_val));
}
}