diff options
| author | misonyo <[email protected]> | 2019-03-13 22:05:03 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-03-13 22:05:03 +0800 |
| commit | 14e048aa8e7cfd292d44aad762328b59dee53495 (patch) | |
| tree | c54beac2f7c99a29311fee7e1181a0e433458511 /libcpu/sim/SConscript | |
| parent | a0df6bea81390d23a0ef3c8aae137048fe6ebc5f (diff) | |
[components/shell] shell will not work if ch is none zero as random value in stack
The serial getchar will only modify the LSB of ch, the MSB 3 bytes
will be unchanged as the random value on stack, so if MSB 3 bytes
not zero, the value got is wrong.
Diffstat (limited to 'libcpu/sim/SConscript')
0 files changed, 0 insertions, 0 deletions
