Skip to content

Commit bfcbd71

Browse files
author
Matěj Sychra
committed
type fix
1 parent b46c4fd commit bfcbd71

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cores/esp8266/twi.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/*
1+
/*
22
twi.h - Software I2C library for esp8266
33
44
Copyright (c) 2015 Hristo Gochkov. All rights reserved.
55
This file is part of the esp8266 core for Arduino environment.
6-
6+
77
This library is free software; you can redistribute it and/or
88
modify it under the terms of the GNU Lesser General Public
99
License as published by the Free Software Foundation; either
@@ -48,7 +48,7 @@ uint8_t twi_status();
4848

4949
uint8_t twi_transmit(const uint8_t*, uint8_t);
5050

51-
void twi_attachSlaveRxEvent( void (*)(uint8_t*, int) );
51+
void twi_attachSlaveRxEvent( void (*)(uint8_t*, size_t) );
5252
void twi_attachSlaveTxEvent( void (*)(void) );
5353
void twi_reply(uint8_t);
5454
//void twi_stop(void);
@@ -59,4 +59,4 @@ void twi_releaseBus(void);
5959
}
6060
#endif
6161

62-
#endif
62+
#endif

0 commit comments

Comments
 (0)