Skip to content

Commit 3fb87a5

Browse files
committed
Update libraries/Wire/Wire.h
1 parent f0801e6 commit 3fb87a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/Wire/Wire.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ class TwoWire : public Stream
4040
static uint8_t transmitting;
4141
static void (*user_onRequest)(void);
4242
static void (*user_onReceive)(int);
43+
static void (*user_onGcallReceive)(int);
4344
static void onRequestService(void);
44-
static void onReceiveService(uint8_t*, int);
45+
static void onReceiveService(uint8_t*, int,uint8_t);
4546
public:
4647
TwoWire();
4748
void begin();
@@ -59,6 +60,7 @@ class TwoWire : public Stream
5960
virtual int peek(void);
6061
virtual void flush(void);
6162
void onReceive( void (*)(int) );
63+
void onReceive( void (*)(int), void (*)(int) );
6264
void onRequest( void (*)(void) );
6365

6466
using Print::write;

0 commit comments

Comments
 (0)