Avrdude not in sync errors attempting to update emonTx firmware

Obvious question, but you have connected the rst pin to that pin on the Pi?

I edited a different file when I did it.

Did you stop emonhub first?