menu "MT6701 Configuration"
    config MT6701_MIN_DIFF
        int "Minimum difference for velocity calculation"
        default 2
        range 0 100
        help
          Set the minimum difference in encoder counts required to update
          the velocity calculation. If the absolute difference between the
          current and previous count is less than or equal to this value,
          the velocity will be set to 0. This helps filter out noise and
          small jitter in the encoder readings.

    config MT6701_USE_HIGH_RESOLUTION_TIMER
        bool "Use high resolution timer instead of software timer"
        default y
        help
          Drive the periodic encoder update with an esp_timer-backed
          HighResolutionTimer (microsecond resolution). This is the right
          choice for sub-millisecond update periods. Disable this to instead
          use an espp::Timer, which schedules against an absolute wake-up time
          (drift-free and in phase) but is limited to the FreeRTOS tick
          resolution.

endmenu
