Merge pull request #79 from im-saxo/dev

flash rotate: use round instead of ceil