Merge pull request #583 from ourairquality/global-stdio-streams

newlib: rebuild with the global stdio streams enabled.
This commit is contained in:
Ruslan V. Uss 2018-04-02 11:22:48 +05:00 committed by GitHub
commit 524a98ed1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 47 additions and 6 deletions

View file

@ -431,8 +431,6 @@ static __attribute__((noinline)) void user_start_phase2(void) {
memcpy(&phy_info, &default_phy_info, sizeof(sdk_phy_info_t));
}
// Disable default buffering on stdout
setbuf(stdout, NULL);
// Wait for UARTs to finish sending anything in their queues.
uart_flush_txfifo(0);
uart_flush_txfifo(1);