tweaks for AVR
opendnp3 now building with zero compiler warnings for AVR