fido-device-onboard / client-sdk-fidoiot

This a C-based implementation of the Device component defined in FIDO Device Onboard (FDO) Specification.
Apache License 2.0
20 stars 32 forks source link

Refactored long switch case statements in fdo_sys.c #241

Closed adarshanand67 closed 1 year ago

adarshanand67 commented 1 year ago

Title: Refactored long switch case statements in fdo_sys.c

This commit refactors the long functions in fdo_sys.c file by creating separate functions for each specific task. This improves code readability, maintainability, and reduces code duplication.

There are no known side effects or risks associated with this code change. Everything works fine