Proyecto David Rodriguez-Douglas Gonzalez
Fork of TSI by
Revision 3:1a60ef257879, committed 2013-05-09
- Comitter:
- mbed_official
- Date:
- Thu May 09 09:24:34 2013 +0000
- Parent:
- 2:507b1f67804b
- Commit message:
- whitespaces cleanup
Changed in this revision
TSISensor.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 507b1f67804b -r 1a60ef257879 TSISensor.cpp --- a/TSISensor.cpp Fri Oct 12 11:42:12 2012 +0000 +++ b/TSISensor.cpp Thu May 09 09:24:34 2013 +0000 @@ -123,7 +123,6 @@ selfCalibration(); } - void TSISensor::selfCalibration(void) { unsigned char cnt; @@ -164,7 +163,6 @@ TSI0->DATA |= TSI_DATA_SWTS_MASK; } - void TSISensor::sliderRead(void ) { if(end_flag) { end_flag = 0; @@ -196,7 +194,6 @@ return AbsoluteDistancePosition; } - static void changeElectrode(void) { int16_t u16temp_delta; @@ -221,11 +218,9 @@ } } - void tsi_irq(void) { end_flag = 1; TSI0->GENCS |= TSI_GENCS_EOSF_MASK; // Clear End of Scan Flag changeElectrode(); } -