Uploaded image for project: 'LibrePilot'
  1. LP-432

Reduce RAM usage on f1 and f3 targets.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: future_release
    • Component/s: Firmware
    • Labels:
      None
    • Sprint:

      Description

      There are quite some bytes allocated by telemetry module for setting the logging period for registered UAVOs.
      telemetry.c comment makes a note about logging period stuff:

       *    8-9    loggingUpdateMode        Update mode used by the logging module (UAVObjUpdateMode)
      

      If coptercontrol does not use logging module (as it seems to be the case), then there is no point in doing the logging period magic. Voiding setLoggingPeriod() function saves whopping 1056 bytes of RAM.

      Are there any downsides to doing this?

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                mindnever Vladimir Zidar
                Reporter:
                mindnever Vladimir Zidar
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: