void CRC(int inBit){
  int bit25=1<<25 ;
  const uint16_t x26=0xEE ;
  const uint16_t gpol=0x1B9 ;

  int outBit ;
  if ( (shiftReg26 & bit25) != 0 ) { outBit=1 ; } else { outBit=0 ; }
  shiftReg26= (shiftReg26 << 1 ) + inBit ;

  int bit9=syndrom & 0x200 ;
  syndrom=syndrom << 1 ;
  if ( bit9) { syndrom ^= gpol ; }

  syndrom=syndrom ^ inBit ;
  syndrom=syndrom ^ (x26*outBit) ;
  syndrom=syndrom & 0x3FF ;
  }
