HL7588 Driver on Android 6.0 __write_chk function

I’ve seen the same issue trying to get a MC7304 to work with Android 6. In the end, I pulled the Android 7 __write_chk function into Android 6. It wasn’t to much effort once I’d figured out what was going on, even for this hardware engineer!

Regards, Jon.