aboutsummaryrefslogtreecommitdiff
path: root/Projects/Magstripe/Lib
diff options
context:
space:
mode:
authorDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-07-21 16:19:32 +0000
committerDean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28>2010-07-21 16:19:32 +0000
commit9f7efbb4a7e6218d0a9164e04fe47f751afc9238 (patch)
treeefd08eefa90cef94440f880a70902f5803fb12a7 /Projects/Magstripe/Lib
parenta2517e37c2a8fa0797b158b3e1099547e18220ec (diff)
Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability.
Add missing const qualifiers to the demos. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1400 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/Magstripe/Lib')
-rw-r--r--Projects/Magstripe/Lib/CircularBitBuffer.c3
-rw-r--r--Projects/Magstripe/Lib/CircularBitBuffer.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/Projects/Magstripe/Lib/CircularBitBuffer.c b/Projects/Magstripe/Lib/CircularBitBuffer.c
index 8be527b4..c1b21039 100644
--- a/Projects/Magstripe/Lib/CircularBitBuffer.c
+++ b/Projects/Magstripe/Lib/CircularBitBuffer.c
@@ -50,7 +50,8 @@ void BitBuffer_Init(BitBuffer_t* const Buffer)
}
/** Function to store the given bit into the given bit buffer. */
-void BitBuffer_StoreNextBit(BitBuffer_t* const Buffer, const bool Bit)
+void BitBuffer_StoreNextBit(BitBuffer_t* const Buffer,
+ const bool Bit)
{
/* If the bit to store is true, set the next bit in the buffer */
if (Bit)
diff --git a/Projects/Magstripe/Lib/CircularBitBuffer.h b/Projects/Magstripe/Lib/CircularBitBuffer.h
index dff4d2e5..973c7c26 100644
--- a/Projects/Magstripe/Lib/CircularBitBuffer.h
+++ b/Projects/Magstripe/Lib/CircularBitBuffer.h
@@ -82,7 +82,8 @@
* \param[in,out] Buffer Bit buffer to store a bit into
* \param[in] Bit Bit to store into the buffer
*/
- void BitBuffer_StoreNextBit(BitBuffer_t* const Buffer, const bool Bit) ATTR_NON_NULL_PTR_ARG(1);
+ void BitBuffer_StoreNextBit(BitBuffer_t* const Buffer,
+ const bool Bit) ATTR_NON_NULL_PTR_ARG(1);
/** Retrieves a bit from the next location inside a given bit buffer.
*