From cdc70e3bdffcd6c677fc763270635e5ecb64f8ae Mon Sep 17 00:00:00 2001 From: wnew Date: Mon, 9 Jun 2014 14:55:22 +0200 Subject: [PATCH] reset bug The Mirf.init function resets the nano board when called. This fixes the issue. --- Mirf/Mirf.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Mirf/Mirf.cpp b/Mirf/Mirf.cpp index 0ec2720..b28f385 100755 --- a/Mirf/Mirf.cpp +++ b/Mirf/Mirf.cpp @@ -89,6 +89,7 @@ void Nrf24l::init() csnHi(); // Initialize spi module + spi = new MirfSpiDriver(); spi->begin(); }