Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
This commit is contained in:
parent
0f77ae6a20
commit
cf935d97ae
170 changed files with 276 additions and 276 deletions
|
@ -318,31 +318,31 @@ static inline uint8_t instant(void) {
|
|||
return data;
|
||||
}
|
||||
|
||||
static inline void clock_lo() {
|
||||
static inline void clock_lo(void) {
|
||||
M0110_CLOCK_PORT &= ~(1 << M0110_CLOCK_BIT);
|
||||
M0110_CLOCK_DDR |= (1 << M0110_CLOCK_BIT);
|
||||
}
|
||||
static inline void clock_hi() {
|
||||
static inline void clock_hi(void) {
|
||||
/* input with pull up */
|
||||
M0110_CLOCK_DDR &= ~(1 << M0110_CLOCK_BIT);
|
||||
M0110_CLOCK_PORT |= (1 << M0110_CLOCK_BIT);
|
||||
}
|
||||
static inline bool clock_in() {
|
||||
static inline bool clock_in(void) {
|
||||
M0110_CLOCK_DDR &= ~(1 << M0110_CLOCK_BIT);
|
||||
M0110_CLOCK_PORT |= (1 << M0110_CLOCK_BIT);
|
||||
_delay_us(1);
|
||||
return M0110_CLOCK_PIN & (1 << M0110_CLOCK_BIT);
|
||||
}
|
||||
static inline void data_lo() {
|
||||
static inline void data_lo(void) {
|
||||
M0110_DATA_PORT &= ~(1 << M0110_DATA_BIT);
|
||||
M0110_DATA_DDR |= (1 << M0110_DATA_BIT);
|
||||
}
|
||||
static inline void data_hi() {
|
||||
static inline void data_hi(void) {
|
||||
/* input with pull up */
|
||||
M0110_DATA_DDR &= ~(1 << M0110_DATA_BIT);
|
||||
M0110_DATA_PORT |= (1 << M0110_DATA_BIT);
|
||||
}
|
||||
static inline bool data_in() {
|
||||
static inline bool data_in(void) {
|
||||
M0110_DATA_DDR &= ~(1 << M0110_DATA_BIT);
|
||||
M0110_DATA_PORT |= (1 << M0110_DATA_BIT);
|
||||
_delay_us(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue