Merge pull request #47 from remay/serial-baud

Remove unnecessary uBit.serial.baud() calls
master
James Devine 2016-01-11 14:03:40 +00:00
commit c04de3f93c
2 changed files with 0 additions and 4 deletions

View File

@ -102,9 +102,6 @@ MicroBit::MicroBit() :
*/
void MicroBit::init()
{
// Set the default baud rate for the serial port.`
uBit.serial.baud(115200);
//add the display to the systemComponent array
addSystemComponent(&uBit.display);

View File

@ -14,7 +14,6 @@ int main()
#if CONFIG_ENABLED(MICROBIT_DBG)
// For diagnostics. Gives time to open the console window. :-)
uBit.serial.baud(115200);
for (int i=3; i>0; i--)
{
uBit.serial.printf("=== SUPERMAIN: Starting in %d ===\n", i);