SST25: Eliminate some warnings
This commit is contained in:
parent
9f3663152d
commit
be09a87c0e
2
configs
2
configs
@ -1 +1 @@
|
||||
Subproject commit a78d478e6f91e08438cb19538797ae5a573da96c
|
||||
Subproject commit 1cfdd63f75a2a6aac0dfa0080813fbe644b7919f
|
@ -584,6 +584,7 @@ static void sst25_byteread(FAR struct sst25_dev_s *priv, FAR uint8_t *buffer,
|
||||
|
||||
status = sst25_waitwritecomplete(priv);
|
||||
DEBUGASSERT((status & (SST25_SR_WEL|SST25_SR_BP_MASK|SST25_SR_AAI)) == 0);
|
||||
UNUSED(status);
|
||||
|
||||
/* Select this FLASH part */
|
||||
|
||||
@ -723,6 +724,7 @@ static void sst25_wordwrite(struct sst25_dev_s *priv, FAR const uint8_t *buffer,
|
||||
|
||||
status = sst25_waitwritecomplete(priv);
|
||||
DEBUGASSERT((status & (SST25_SR_WEL|SST25_SR_BP_MASK|SST25_SR_AAI)) == 0);
|
||||
UNUSED(status);
|
||||
|
||||
/* Enable write access to the FLASH */
|
||||
|
||||
@ -754,6 +756,7 @@ static void sst25_wordwrite(struct sst25_dev_s *priv, FAR const uint8_t *buffer,
|
||||
|
||||
status = sst25_waitwritecomplete(priv);
|
||||
DEBUGASSERT((status & (SST25_SR_WEL|SST25_SR_BP_MASK|SST25_SR_AAI)) == (SST25_SR_WEL|SST25_SR_AAI));
|
||||
UNUSED(status);
|
||||
|
||||
/* Decrement the word count and advance the write position */
|
||||
|
||||
@ -791,6 +794,7 @@ static void sst25_wordwrite(struct sst25_dev_s *priv, FAR const uint8_t *buffer,
|
||||
|
||||
status = sst25_waitwritecomplete(priv);
|
||||
DEBUGASSERT((status & (SST25_SR_WEL|SST25_SR_BP_MASK|SST25_SR_AAI)) == (SST25_SR_WEL|SST25_SR_AAI));
|
||||
UNUSED(status);
|
||||
|
||||
/* Decrement the word count and advance the write position */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user