SST25: Eliminate some warnings

This commit is contained in:
Gregory Nutt
2015-07-03 14:38:33 -06:00
parent 9f3663152d
commit be09a87c0e
2 changed files with 5 additions and 1 deletions
+1 -1
Submodule configs updated: a78d478e6f...1cfdd63f75
+4
View File
@@ -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 */