remove redundant spaces
This commit is contained in:
parent
bd9d4e8cfb
commit
26baa413e5
@ -141,7 +141,7 @@ static int call_dupterm_read(size_t idx) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static bool inputAvailable()
|
static bool inputAvailable()
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
fd_set fds;
|
fd_set fds;
|
||||||
@ -175,7 +175,7 @@ int mp_hal_stdin_rx_chr(void) {
|
|||||||
while (!inputAvailable())
|
while (!inputAvailable())
|
||||||
{
|
{
|
||||||
mp_handle_pending();
|
mp_handle_pending();
|
||||||
usleep(1);
|
usleep(1);
|
||||||
}
|
}
|
||||||
int ret = read(0, &c, 1);
|
int ret = read(0, &c, 1);
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user