Putting the Gimli Glider aside for a moment, was there not a similar case with an ATR in Italy where the wrong card had been installed and it thought it had a lot more fuel onboard than it actually had.
ATR72 vs ATR42?
Ended up in the Mediterranian with some loss of life, if I recall.