Change default baud rate back to 74906bps, compatible with boot ROM rate

This reverts a behaviour change from 3ceadfc0a6.
This commit is contained in:
Angus Gratton 2015-10-06 23:04:19 +11:00
parent cd68622292
commit 7823a28ff8
15 changed files with 48 additions and 7 deletions

View file

@ -7,6 +7,7 @@
* NOT SUITABLE TO PUT ON THE INTERNET OR INTO A PRODUCTION ENVIRONMENT!!!!
*/
#include "espressif/esp_common.h"
#include "esp/uart.h"
#include "FreeRTOS.h"
#include "task.h"
#include "esp8266.h"
@ -17,6 +18,8 @@
void user_init(void)
{
uart_set_baud(0, 115200);
rboot_config_t conf = rboot_get_config();
printf("\r\n\r\nOTA Basic demo.\r\nCurrently running on flash slot %d / %d.\r\n\r\n",
conf.current_rom, conf.count);