FreeRTOS / FreeRTOS-Plus-TCP

FreeRTOS-Plus-TCP library repository. +TCP files only. Submoduled into https://github.com/FreeRTOS/FreeRTOS and various other repos.
MIT License
152 stars 163 forks source link

phyHandling: fix compilation with Clang, fix incorrect log output #1060

Closed Mixaill closed 11 months ago

Mixaill commented 11 months ago

Description

Checklist:


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Mixaill commented 11 months ago

@htibosch fixed according to review

Mixaill commented 11 months ago

@htibosch

I also had to remove ulPHYLinkStatus completely, otherwise it causes error: variable ‘ulPHYLinkStatus’ set but not used [-Werror=unused-but-set-variable] when configPRINTF is no-op.