diff --git a/src/flash/at91sam3.c b/src/flash/at91sam3.c index bb51ad4cf..da3e62422 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 e9e71a98d..5b24034dd 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; } }