Removed some trailing spaces, added template parameter RF24
Small changes to compile against my RF24 driver version