Skip to content

Variable tle->epoch Overflows #7

@mbineshaq

Description

@mbineshaq

tle->epoch is implemented as 'long', however, it stores UNIX Time in milliseconds which cause it to over flow. Changing the type in the TLE struct to 'long long' as well as updating the last a few lines in the parseEpoch() function does the trick.

Mind you I am using it on an STM32 Arm Cortex MCU. This could be a portabilty issue where the code runs fine on other machine but not this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions