   digitalWrite(channel->CSB, HIGH);
 }
 
-
-byte readTDC7200(chanTDC7200* channel, byte address) {
+byte readTDC7200(struct chanTDC7200 *channel, byte address) {
   byte inByte = 0;
 
-    // take the chip select low to select the device:
+  // take the chip select low to select the device:
   digitalWrite(channel->CSB, LOW);
 
   SPI.transfer(address);

  
  digitalWrite(channel->CSB, HIGH);

// read the CLOCK1 register
    // take the chip select low to select the device:
  digitalWrite(channel->CSB, LOW);

  SPI.transfer(CLOCK_COUNT1);


  return inByte;
}
