pellepl / spiflash_driver

Hardware agnostic generic spi flash driver
MIT License
73 stars 27 forks source link

Fixing bug in sr_data usage #6

Closed Enes1313 closed 2 years ago

Enes1313 commented 2 years ago

"tx_internal_buf" and "sr_data" are the same union type. When written to index 0 of tx_internal_buf, sr_data will change. So the order of writing to the "tx_internal_buf" array has been changed.

pellepl commented 2 years ago

Thanks!