From 353500cde1ee35240c34e7de3375f09023ef9c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mustafa=20Bu=C4=9Fra=20Avc=C4=B1?= Date: Sat, 13 Nov 2021 12:43:47 +0300 Subject: [PATCH] Arduino Mega error fix pingpair_test:214:35: error: call of overloaded 'openReadingPipe(int, int)' is ambiguous radio.openReadingPipe(5, 0); ^ fix the given error --- tests/pingpair_test/pingpair_test.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pingpair_test/pingpair_test.pde b/tests/pingpair_test/pingpair_test.pde index 6acbf51d..f4b739ba 100644 --- a/tests/pingpair_test/pingpair_test.pde +++ b/tests/pingpair_test/pingpair_test.pde @@ -216,7 +216,7 @@ void setup(void) } else if ( role == role_sender ) { - radio.openReadingPipe(5,0); + radio.openReadingPipe((uint8_t)5,(uint64_t)0); } //