Auszug aus counters.cpp:(Nachher2)
Zusätzlich wurde hier vor dem astyle-Lauf folgende Zeile ausgeführt:
perl -pe „s#\t# #g while /\t/; s# # #g while / /“ -i counters.cpp
int TGenericDevice::PollDevice( void )
KillTimer( hWndFrame,DeviceTimerIdStart + GetId( ) );
if( !bDeviceActive ) return R_Failure;
switch( IOCTL( iocIsCountingReady ) )
SetTimer( hWndFrame,DeviceTimerIdStart + GetId( ),uAskTime,NULL );
case 1: // time counter ready
IOCTL( iocReadCounts,counts );
IOCTL( iocReadTicks,ticks );
time = ( float ) ticks / GetTicksPerSecond( );
time = fExposureTime + time;