Skip to content

Bug in FT8 Telemetry mode and an easy fix. (Atmel tool chain and possibly others) #18

@SquirrelEng

Description

@SquirrelEng

There is a bug in the FT8 telemetry mode code.

In JTEncode.cpp line 887 the line: snprintf(temp_msg, 19, "%*s", 18, c18); sets temp_msg to a zero length string. This causes the variable "message" further down in the code to have a zero 1st byte and corrupts the telemetry message.

Replace the snprintf call with the following: snprintf(temp_msg, 19, "%18s", c18);

I am running the code on an Arduno Pro Mini (Atmel chip) and it appears that the %*s formatter is not functioning correctly on this tool chain. Since the length is hard coded, the simpler %18s will work.

73s de KJ6FO

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions