Skip to content

Logfile time variable likely overflowing after 4294.96sec #10992

@YohanHadji

Description

@YohanHadji

Current Behavior

INAV 7.0.0 Blackbox logging is stopped just before reaching 4,294,967,295us probably because of a uint32 overflow somewhere in the log process. This prevents any log file to run for more than 1h11min after boot.

Steps to Reproduce

  1. Enable Blackbox logging
  2. Arm
  3. Wait more than 4,294,967,295us
  4. Check the log file and see that the log file is stopping right before reaching 4,294,967,295us

Expected behavior

It should be possible have log files lasting multiple hours

Suggested solution(s)

Handle the time overflow correctly


  • FC Board name and vendor: MatekF405 Mini TE
  • INAV version string: 7.0.0

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