Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: FreeMASTER_HelloWorld FreeMASTER_HelloWorld2 FreeMASTER_HelloWorld3
Fork of freemaster_lib by
Diff: class/freemaster_class.cpp
- Revision:
- 9:61b2beb811bf
- Parent:
- 8:17470feaa6be
- Child:
- 10:ee28cf2ae687
diff -r 17470feaa6be -r 61b2beb811bf class/freemaster_class.cpp
--- a/class/freemaster_class.cpp Thu May 15 08:52:08 2014 +0000
+++ b/class/freemaster_class.cpp Tue Jun 03 22:56:38 2014 +0000
@@ -11,7 +11,7 @@
serial_init(&_serial, tx, rx);
_baud = 9600;
serial_irq_handler(&_serial, Freemaster::_irq_handler, (uint32_t)this);
- FMSTR_InitSerialBase((FMSTR_BPTR)&_serial.uart->BDH);
+ FMSTR_SetSciMbedObject((FMSTR_ADDR) &_serial);
FMSTR_Init();
#if !(FMSTR_POLL_DRIVEN)
serial_irq_set(&_serial, RxIrq, 1);
