 
 // TODO: replace with code from the std avr libc library:
 //  http://www.nongnu.org/avr-libc/user-manual/group__util__delay__basic.html
-void whackDelay (uint16_t delay) {
-    uint8_t tmp=0;
+void whackDelay (word delay) {
+    byte tmp=0;
 
     asm volatile("sbiw      %0, 0x01 \n\t"
                  "ldi %1, 0xFF \n\t"

    memset(stack, 0, sizeof stack);
}

static void displayASCII (const uint8_t* data, byte count) {
    for (byte i = 0; i < count; ++i) {
        printOneChar(' ');
        char c = (char) data[i];

            }
            printOneChar(rf12_hdr & RF12_HDR_DST ? '>' : '<');
            printOneChar('@' + (rf12_hdr & RF12_HDR_MASK));
            displayASCII((const byte*) rf12_data, n);
        }

        if (rf12_crc == 0) {
