beagle qep: Eliminate unused function with -Wenum-conversion warning

The warning was in an unused function so it was removed.
This commit is contained in:
Joel Sherrill
2026-01-04 10:48:59 -06:00
parent 3b78fa9013
commit faa6fe9a48
2 changed files with 0 additions and 17 deletions

View File

@@ -339,13 +339,6 @@ rtems_status_code beagle_qep_set_count_mode(
BBB_QEP_COUNT_MODE mode
);
/**
* @brief Gets the currently configured count mode for the eQEP module.
* @param pwmss_id Identifies which PWMSS module to set the eQEP count mode for.
* @return An enum value representing the current count mode.
*/
BBB_QEP_COUNT_MODE beagle_qep_get_count_mode(BBB_PWMSS pwmss_id);
/**
* @brief Returns the currently configured quadrature mode - either absolute,
* or relative.

View File

@@ -343,16 +343,6 @@ rtems_status_code beagle_qep_set_count_mode(
return RTEMS_SUCCESSFUL;
}
BBB_QEP_COUNT_MODE beagle_qep_get_count_mode(BBB_PWMSS pwmss_id)
{
if ( pwmss_id >= BBB_PWMSS_COUNT ) {
return RTEMS_INVALID_ID;
}
const bbb_eqep* eqep = &bbb_eqep_table[pwmss_id];
return eqep->count_mode;
}
rtems_status_code beagle_qep_set_quadrature_mode(
BBB_PWMSS pwmss_id,
BBB_QEP_QUADRATURE_MODE mode