]> git.sur5r.net Git - openocd/commitdiff
- Fixes '==' whitespace
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 24 Jun 2009 09:37:31 +0000 (09:37 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 24 Jun 2009 09:37:31 +0000 (09:37 +0000)
- Replace '\(\w\)\(==\)\(\w\)' with '\1 \2 \3'.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2390 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/flash/at91sam3.c
src/helper/membuf.c

index bb51ad4cf6b3714dff5c29d6d1444eb4f92b9752..da3e62422d9bf5d450144215877dd9f2d33c22c5 100644 (file)
@@ -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");
index e9e71a98d971aa2f98a4f847ce6d1c68467ecedb..5b24034dd1d6c17dd49f2fe6b18ffe78c65babf7 100644 (file)
@@ -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;
        }
     }