Fix: removed definition of transmit_bit from header file as it's inline

Change: moved documentation of `transmit bit` to the source file
This commit is contained in:
2022-03-11 08:43:21 +01:00
parent 0e396ca2ac
commit 9d2ed4d98d
2 changed files with 4 additions and 6 deletions

View File

@@ -32,6 +32,10 @@ inline void PT6302_startup (void)
PT6302_reset ();
}
/* --------------------------------
* Transmits the LSB of data
* Handles communication except CSB
* --------------------------------- */
static inline void transmit_bit (const uint8_t data)
{
PORTB &= ~CLKBpin;

View File

@@ -54,12 +54,6 @@ void PT6302_startup (void);
* ---------------------------------------------- */
void PT6302_reset (void);
/* --------------------------------
* Transmits the LSB of data
* Handles communication except CSB
* --------------------------------- */
static inline void transmit_bit (uint8_t data);
/* ------------------------------------------------
* Transmits one character (data)
* Handles the entire communication