Search found 1 match

by enmas
Sun Oct 17, 2021 1:50 pm
Forum: ChibiOS/HAL
Topic: Write to console from callback
Replies: 1
Views: 3057

Write to console from callback

Hi

For development purposes I want to write to console via UART from a callback function. As I came to understand and experienced the following is not allowed:

static void icuwidthcb(ICUDriver *icup) {

last_width = icuGetWidthX(icup);
chprintf((BaseSequentialStream*)&SD2, "Callback icuwidth ...