diff options
author | Ryan <[email protected]> | 2023-01-21 03:21:17 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-01-20 16:21:17 +0000 |
commit | cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e (patch) | |
tree | cb7dc41b774171ce7036f963941ce801e868d8cd /keyboards/lfkeyboards/TWIlib.c | |
parent | 0f77ae6a20652c11bc252548bd28fd64f5fb6b97 (diff) | |
download | qmk_firmware-cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e.tar.gz qmk_firmware-cf935d97ae479e7a1e1f2f2f248b93e52e4cc69e.zip |
Fix functions with empty params (#19647)
* Fix functions with empty params
* Found a bunch more
Diffstat (limited to 'keyboards/lfkeyboards/TWIlib.c')
-rw-r--r-- | keyboards/lfkeyboards/TWIlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/lfkeyboards/TWIlib.c b/keyboards/lfkeyboards/TWIlib.c index d50ce72895..0d52322c64 100644 --- a/keyboards/lfkeyboards/TWIlib.c +++ b/keyboards/lfkeyboards/TWIlib.c @@ -24,7 +24,7 @@ int RXBuffLen; // The total number of bytes to read (should be less than RXMAXBU TWIInfoStruct TWIInfo; -void TWIInit() +void TWIInit(void) { TWIInfo.mode = Ready; TWIInfo.errorCode = 0xFF; @@ -37,7 +37,7 @@ void TWIInit() TWCR = (1 << TWIE) | (1 << TWEN); } -uint8_t isTWIReady() +uint8_t isTWIReady(void) { if ( (TWIInfo.mode == Ready) | (TWIInfo.mode == RepeatedStartSent) ) { |