- Enhanced the `pin_duty_cmd` function by improving code formatting for better readability, ensuring consistent style across the codebase. - Updated unit tests for `pin_duty_cmd` to follow the same formatting improvements, enhancing clarity and maintainability. - No functional changes were made; the focus was solely on code style and organization.