Skip to content

Modified u_ethernet.c and related files based on review suggestions.#16

Merged
bjackson312006 merged 1 commit into
mainfrom
ethernet-fixes
Jul 29, 2025
Merged

Modified u_ethernet.c and related files based on review suggestions.#16
bjackson312006 merged 1 commit into
mainfrom
ethernet-fixes

Conversation

@bjackson312006

Copy link
Copy Markdown
Collaborator

No description provided.

@bjackson312006 bjackson312006 self-assigned this Jul 29, 2025
@bjackson312006
bjackson312006 requested a review from Copilot July 29, 2025 18:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses review feedback by replacing hardcoded values and TODO comments with proper configuration constants, improving code maintainability and removing temporary placeholders.

  • Replaced hardcoded PLCA node configuration values with named constants
  • Updated queue operations to use configurable wait times instead of no-wait behavior
  • Added time conversion macros and configuration constants

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
NetXDuo/Target/nx_stm32_phy_custom_driver.c Updated PLCA configuration to use constants instead of hardcoded values
Core/Src/u_queues.c Changed queue operations from no-wait to configurable timeout
Core/Src/u_ethernet.c Fixed inconsistent constant usage in UDP socket receive
Core/Inc/u_queues.h Added queue wait time configuration constant
Core/Inc/u_ethernet.h Added network node count constant and removed TODO comment
Core/Inc/u_config.h Added time conversion utility macros

Comment thread Core/Inc/u_config.h
Comment thread Core/Inc/u_config.h
@bjackson312006
bjackson312006 merged commit 31e30ac into main Jul 29, 2025
1 check passed
@bjackson312006
bjackson312006 deleted the ethernet-fixes branch August 19, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants