mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability.
Add missing const qualifiers to the demos.
This commit is contained in:
@@ -100,7 +100,8 @@
|
||||
* \param[in,out] Buffer Pointer to a ring buffer structure to insert into
|
||||
* \param[in] Data Data element to insert into the buffer
|
||||
*/
|
||||
static inline void RingBuffer_AtomicInsert(RingBuff_t* const Buffer, RingBuff_Data_t Data)
|
||||
static inline void RingBuffer_AtomicInsert(RingBuff_t* const Buffer,
|
||||
const RingBuff_Data_t Data)
|
||||
{
|
||||
ATOMIC_BLOCK(ATOMIC_RESTORESTATE)
|
||||
{
|
||||
@@ -141,7 +142,8 @@
|
||||
* \param[in,out] Buffer Pointer to a ring buffer structure to insert into
|
||||
* \param[in] Data Data element to insert into the buffer
|
||||
*/
|
||||
static inline void RingBuffer_Insert(RingBuff_t* const Buffer, RingBuff_Data_t Data)
|
||||
static inline void RingBuffer_Insert(RingBuff_t* const Buffer,
|
||||
const RingBuff_Data_t Data)
|
||||
{
|
||||
*Buffer->In = Data;
|
||||
|
||||
|
||||
@@ -60,6 +60,6 @@
|
||||
}
|
||||
|
||||
/* Function Prototypes: */
|
||||
void SoftUART_Init(void);
|
||||
void SoftUART_Init(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user