diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c index bb51ad4cf6b3714dff5c29d6d1444eb4f92b9752..da3e62422d9bf5d450144215877dd9f2d33c22c5 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 e9e71a98d971aa2f98a4f847ce6d1c68467ecedb..5b24034dd1d6c17dd49f2fe6b18ffe78c65babf7 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; } }