         // recalculate time offset
         time_offset = time - millis();
     }
-    Serial.print(argv[0]);
-    Serial.print(" 00 ");
-    Serial.println(time);
+    print("%s 00 %l\n", argv[0], time);
+    return 0;
 }
 
 static const cmd_t commands[] = {


        case 0x01:
            // ping received
            Serial.print("!ping ");
            Serial.println(node, HEX);
            // prepare pong message
            fill_buffer(node, 0x02, 0, NULL);
            break;

        case 0x02:
            // pong received
            Serial.print("!pong ");
            Serial.println(node, HEX);
            break;

        default:

            memcpy(&buf->data, rcv, len);
            buf->len = len;

            print("!r %02X\n", node);
            break;
        }
    }
