Commits

F Malpartida committed 463e6f3

Minor changes.

  • Participants
  • Parent commits 7329d2d
  • Branches V 1.2.0 preparation

Comments (0)

Files changed (2)

 int fio_digitalRead(fio_register pinRegister, uint8_t pinBit)
 {
 #ifdef FIO_FALLBACK
-	return digitalRead(pinBit);
+	return digitalRead (pinBit);
 #else
-	if (*pinRegister & pinBit) return HIGH;
+	if (*pinRegister & pinBit)
+   {
+      return HIGH;
+   }
 	return LOW;
 #endif
 }
 	 * 	http://pastebin.com/raw.php?i=2hnC9v2Z
 	 * 	http://pastebin.com/raw.php?i=bGg4DhXQ
 	 * 	http://pastebin.com/raw.php?i=tg1ZFiM5
-	 *  http://pastebin.com/raw.php?i=93ExPDD3 - cascading
+	 *    http://pastebin.com/raw.php?i=93ExPDD3 - cascading
 	 * tested with:
-	 * 	TPIC6595N - seems to work fine (circuit: http://www.3guys1laser.com/arduino-one-wire-shift-register-prototype)
+	 * 	TPIC6595N - seems to work fine (circuit: http://www.3guys1laser.com/
+    *                   arduino-one-wire-shift-register-prototype)
 	 * 	7HC595N
 	 */
 	// disable interrupts since timing is going to be critical
  @param value[in] desired output
  */
 // __attribute__ ((always_inline)) /* let the optimizer decide that for now */
-void fio_digitalWrite(fio_register pinRegister, fio_bit pinBit, uint8_t value);
+void fio_digitalWrite ( fio_register pinRegister, fio_bit pinBit, uint8_t value );
 
 /**
  * This is where the magic happens that makes things fast.
  @param pinBit[in] Bit - Pin if fast io is disabled
  @result Value read from pin
  */
-int fio_digitalRead(fio_register pinRegister, fio_bit pinBit);
+int fio_digitalRead ( fio_register pinRegister, fio_bit pinBit );
 
 /*!
  @method
  @param clockBit[in] Bit of data pin - Pin if fast digital write is disabled
  @param bitOrder[in] bit order
  */
-void fio_shiftOut(fio_register dataRegister, fio_bit dataBit, fio_register clockRegister, 
-                  fio_bit clockBit, uint8_t value, uint8_t bitOrder);
+void fio_shiftOut( fio_register dataRegister, fio_bit dataBit, fio_register clockRegister, 
+                   fio_bit clockBit, uint8_t value, uint8_t bitOrder );
 
 /*!
  @method