fix usage of sm712_write*