andrzej-kaczmarek commented on a change in pull request #1550: spiflash bus
driver support
URL: https://github.com/apache/mynewt-core/pull/1550#discussion_r243068088
##########
File path: hw/drivers/flash/spiflash/src/spiflash.c
##########
@@ -722,15 +753,21 @@ uint8_t
spiflash_read_status(struct spiflash_dev *dev)
{
uint8_t val;
+ const uint8_t cmd = SPIFLASH_READ_STATUS_REGISTER;
spiflash_lock(dev);
Review comment:
do we still need this lock for bus driver?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services