1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 20:49:49 +04:00

lib: infrared: fixed doxygen declarations to match implementation (#4305)

This commit is contained in:
hedger
2025-11-06 16:40:18 +00:00
committed by GitHub
parent 6a5ae6cc0d
commit b54d63037b
2 changed files with 8 additions and 3 deletions

View File

@@ -55,11 +55,16 @@ void infrared_brute_force_set_db_filename(InfraredBruteForce* brute_force, const
InfraredErrorCode infrared_brute_force_calculate_messages(InfraredBruteForce* brute_force);
/**
* @brief Start transmitting signals from a category stored in an InfraredBruteForce's instance dictionary.
* @brief Start transmitting signals from a category stored in the dictionary.
*
* The function locates the category identified by @p index, reports the number of
* records it contains via @p record_count, and prepares the brute-force instance
* to transmit those signals. On failure @p record_count is set to zero.
*
* @param[in,out] brute_force pointer to the instance to be started.
* @param[in] index index of the signal category in the dictionary.
* @returns true on success, false otherwise.
* @param[out] record_count pointer that receives the number of records in the category.
* @returns true if the category is found and the backing database file is opened, false otherwise.
*/
bool infrared_brute_force_start(
InfraredBruteForce* brute_force,

View File

@@ -163,7 +163,7 @@ InfraredErrorCode infrared_signal_read_name(FlipperFormat* ff, FuriString* name)
* Same behaviour as infrared_signal_read(), but only the body is read.
*
* @param[in,out] ff pointer to the FlipperFormat file instance to read from.
* @param[out] body pointer to the InfraredSignal instance to hold the signal body. Must be properly allocated.
* @param[out] signal pointer to the InfraredSignal instance to hold the signal body. Must be properly allocated.
* @returns InfraredErrorCodeNone if a signal body was successfully read, otherwise error code.
*/
InfraredErrorCode infrared_signal_read_body(InfraredSignal* signal, FlipperFormat* ff);