Ported Arduino RF24Network library.
Diff: Sync.cpp
- Revision:
- 1:b5836d9f8de5
- Parent:
- 0:df0a8886a0e9
--- a/Sync.cpp Mon Mar 09 20:49:13 2015 +0000 +++ b/Sync.cpp Mon Mar 09 21:23:56 2015 +0000 @@ -64,7 +64,7 @@ switch (header.type) { case 'S': - IF_SERIAL_DEBUG(printf_P(PSTR("%lu: SYN Received sync message\n\r"),millis())); + //IF_SERIAL_DEBUG(printf_P(PSTR("%lu: SYN Received sync message\n\r"),millis())); network.read(header,&message,sizeof(message)); // Parse the message and update the vars @@ -78,7 +78,7 @@ uint8_t pos = (*mptr++) - 1; uint8_t val = *mptr++; - IF_SERIAL_DEBUG(printf_P(PSTR("%lu: SYN Updated position %u to value %u\n\r"),millis(),pos,val)); + //IF_SERIAL_DEBUG(printf_P(PSTR("%lu: SYN Updated position %u to value %u\n\r"),millis(),pos,val)); app_data[pos] = val; internal_data[pos] = val;