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.
Diff: bdm.cpp
- Revision:
- 2:bf3a2b29259a
- Parent:
- 1:d5452e398b76
- Child:
- 4:682d96ff6d79
--- a/bdm.cpp Tue Sep 14 21:02:04 2010 +0000
+++ b/bdm.cpp Tue Dec 14 21:50:35 2010 +0000
@@ -116,7 +116,7 @@
// Set some initial values to help with checking if the BDM connector is plugged in
PIN_PWR.mode(PullDown);
PIN_NC.mode(PullUp);
- PIN_DS.mode(PullUp);
+// PIN_DS.mode(PullUp);
PIN_FREEZE.mode(PullUp);
PIN_DSO.mode(PullUp);
@@ -188,7 +188,7 @@
// printf("%02x", (BDM_PIN & 0x3f));
printf("PWR %d, ", PIN_PWR.read());
printf("NC %d, ", PIN_NC.read());
- printf("DS %d, ", PIN_DS.read());
+// printf("DS %d, ", PIN_DS.read());
printf("FREEZE %d, ", PIN_FREEZE.read());
printf("DSO %d, ", PIN_DSO.read());
return TERM_OK;