fix small glitch in parser.c

IN PROGRESS
Project Budget (USD)
$100

Project Description:
Do a git pull on the "Instrument" repo.

This command sequence crashes parser.c:1278

diag:eprom:float 10070 6
diag:eprom:float? 10070

It should return "6.0e0" or something similar.

Something is wrong with the pointer trickery in this line:

return query_float(response, *(float *)(&globals.Flash.flash_start + eprom_loc));

It works fine if the address is on a 4-byte boundary, but 10070 isn't and it crashes as a result.

Skills required:
Linux
Project offered by:
Verified