This library provides the ability to compute the median, circular median, mean and standard deviation of a dataset stored in a circular buffer

Dependents:   Ni-MH_V3

Files at this revision

API Documentation at this revision

Comitter:
greletj
Date:
Tue May 28 17:50:55 2013 +0000
Parent:
5:a0d839622531
Commit message:
add default in switch(mode) to suppress compiler warning: ; enumeration value 'SETF' not handled in switch

Changed in this revision

bitmsk.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/bitmsk.cpp	Tue May 28 17:23:46 2013 +0000
+++ b/bitmsk.cpp	Tue May 28 17:50:55 2013 +0000
@@ -29,6 +29,8 @@
                break;
    case SETA : *bitmsk = new_msk;
                break;
+   default:
+               break;
  }
  return( *bitmsk );
 }
@@ -62,6 +64,8 @@
    case SETA : raz();            // pas de break
    case ADD  : bits[ num ] |=  msk;
                break;
+   default:
+               break;
  }
  for( num = 0; num < BITMSK_SIZE; num++ )
    if( bits[ num ] != BITMSK_RIEN ) return( true );