summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flash/at91sam3.c2
-rw-r--r--src/helper/membuf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c
index bb51ad4c..da3e6242 100644
--- a/src/flash/at91sam3.c
+++ b/src/flash/at91sam3.c
@@ -1271,7 +1271,7 @@ sam3_explain_ckgr_plla( struct sam3_chip *pChip )
mula = sam3_reg_fieldname( pChip, "MULA", pChip->cfg.CKGR_PLLAR, 16, 11 );
sam3_sprintf(pChip,"\n");
pChip->cfg.plla_freq = 0;
- if ( mula==0 ){
+ if ( mula == 0 ){
sam3_sprintf(pChip,"\tPLLA Freq: (Disabled,mula=0)\n");
} else if ( diva == 0 ){
sam3_sprintf(pChip,"\tPLLA Freq: (Disabled,diva=0)\n");
diff --git a/src/helper/membuf.c b/src/helper/membuf.c
index e9e71a98..5b24034d 100644
--- a/src/helper/membuf.c
+++ b/src/helper/membuf.c
@@ -219,7 +219,7 @@ membuf_append( struct membuf *pBuf, const void *pData, size_t len )
// do the grow.
pBuf = membuf_grow( pBuf, r );
// failed?
- if (pBuf==NULL){
+ if (pBuf == NULL){
return pBuf;
}
}