driver: don't try to read flag 32 (doesn't exist). Fix #108.
Merge pull request #110 from gavanderhoorn/issue108_invalid_flag_idx

Fix for issue #108: Warning: 32 is no a valid flag number