Skip to content

Fix SDI printf not working - #56

Open
LeoDJ wants to merge 1 commit into
openwch:mainfrom
LeoDJ:patch-1
Open

Fix SDI printf not working#56
LeoDJ wants to merge 1 commit into
openwch:mainfrom
LeoDJ:patch-1

Conversation

@LeoDJ

@LeoDJ LeoDJ commented May 22, 2025

Copy link
Copy Markdown

The _write function should return the number of bytes written. (see https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/write?view=msvc-170#return-value )
Otherwise, the printf implementation doesn't work (either keeps repeating or HardFaults)

_write now returns the number of bytes written
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.

1 participant