mirror of
https://github.com/Derisis13/AT-VFD.git
synced 2025-12-07 03:42:49 +01:00
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:
4
PT6302.c
4
PT6302.c
@@ -32,6 +32,10 @@ inline void PT6302_startup (void)
|
|||||||
PT6302_reset ();
|
PT6302_reset ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------
|
||||||
|
* Transmits the LSB of data
|
||||||
|
* Handles communication except CSB
|
||||||
|
* --------------------------------- */
|
||||||
static inline void transmit_bit (const uint8_t data)
|
static inline void transmit_bit (const uint8_t data)
|
||||||
{
|
{
|
||||||
PORTB &= ~CLKBpin;
|
PORTB &= ~CLKBpin;
|
||||||
|
|||||||
6
PT6302.h
6
PT6302.h
@@ -54,12 +54,6 @@ void PT6302_startup (void);
|
|||||||
* ---------------------------------------------- */
|
* ---------------------------------------------- */
|
||||||
void PT6302_reset (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)
|
* Transmits one character (data)
|
||||||
* Handles the entire communication
|
* Handles the entire communication
|
||||||
|
|||||||
Reference in New Issue
Block a user