Skip to content
Commit f1738548 authored by Reuben Cartwright's avatar Reuben Cartwright Committed by Devaraj Ranganna
Browse files

aws-iot: Expose ota_agent_task.c statics



This commit makes the static functions in ota_agent_task.c visible
if the UNIT_TESTING macro is defined.
The methodology is documented already in `unit_testing.md`.

This is justified because:
- These functions need to be tested.
- Functions other than `vStartOtaTask` cannot be refactored to be
non-static, as only `vStartOtaTask` should be called in another file.

Signed-off-by: default avatarReuben Cartwright <Reuben.Cartwright@arm.com>
parent 3e7f9e9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment