HAL_AVR: fixed example build
DataFlash: slight efficiency improvement

fixes issue #314

thanks Dongfang!