DataFlash: fixed compile errors