diff options
Diffstat (limited to 'keyboards/woodkeys/meira/TWIlib.c')
-rwxr-xr-x | keyboards/woodkeys/meira/TWIlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/woodkeys/meira/TWIlib.c b/keyboards/woodkeys/meira/TWIlib.c index 8f5658fcdb..89e03a73d4 100755 --- a/keyboards/woodkeys/meira/TWIlib.c +++ b/keyboards/woodkeys/meira/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) ) { |