문제

When I do a printk with "bad" characters, sometimes I scrambles my screen,

enter image description here

Is this unavoidable when printing them?

도움이 되었습니까?

해결책

Type reset and Enter on your command line to get it fixed again. If you don't see it anymore, you might have to type it blindly, but it works often. Depending on how you set up your environment, there are characters that can't be printed without messing up your command line.

You can try to print hex values %x. Like this it is usually much easier to find a logic behind the data.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top