 #endif
 
     if (Serial.available()) {
-        decodeIncomingQspFrame(Serial.read());
+        qspDecodeIncomingFrame(Serial.read());
     }
 
     if (transmitPayload) {
         transmitPayload = false;
 
-        encodeQspFrame(qspFrameToSend, qspPayloadLength, qspPayload);
+        qspEncodeFrame(qspFrameToSend, qspPayloadLength, qspPayload);
         Serial.end();
         delay(E45_TTL_100_UART_DOWNTIME);
         Serial.begin(UART_SPEED);


    uint32_t currentMillis = millis();

    /*
     * RC_DATA QSP frame
     */
    if (currentMillis - lastRcFrameTransmit > TX_RC_FRAME_RATE && !transmitPayload) {
        lastRcFrameTransmit = currentMillis; 

        clearQspPayload();
        encodeRcDataPayload(&ppmReader, PPM_CHANNEL_COUNT);
        qspFrameToSend = QSP_FRAME_RC_DATA;



}

void qspEncodeFrame(uint8_t frameId, uint8_t length, uint8_t *payload) {
    //Zero CRC
    qspCrc = 0;
    
