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.
Dependencies: BlinkLed HTTPClient EthernetInterface FatFileSystemCpp MSCFileSystem spxml mbed-rtos mbed
Fork of mpod_nhk_english by
Revision 6:84749589b532, committed 2012-08-24
- Comitter:
- togayan
- Date:
- Fri Aug 24 17:00:07 2012 +0000
- Parent:
- 5:e87211ff9c23
- Child:
- 7:ad9fcf0e1bc5
- Commit message:
- Remove some printf().
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Aug 20 13:50:00 2012 +0000
+++ b/main.cpp Fri Aug 24 17:00:07 2012 +0000
@@ -68,12 +68,9 @@
SP_XmlCDataNode * lastBuildDateNode = rootHandle.getChild( "channel" ).getChild( "lastBuildDate" ).getChild(0).toCData();
if( NULL != lastBuildDateNode )
{
- printf( "Find /rss/channel/lastBuildDate/text()\n");
- printf("text() of lastBuildDate: %s\n", lastBuildDateNode->getText());
strcpy(lastBuildDateOriginal, lastBuildDateNode->getText());
} else {
- printf( "Cannot found /rss/channel/lastBuildDate/text()\n" );
- sprintf(lastBuildDateOriginal, "Cannot found /rss/channel/lastBuildDate/text()");
+ sprintf(lastBuildDateOriginal, "Cannot found /rss/channel/lastBuildDate");
}
}
}
@@ -113,8 +110,6 @@
SP_XmlCDataNode * lastBuildDateNode = rootHandle.getChild( "channel" ).getChild( "lastBuildDate" ).getChild(0).toCData();
if( NULL != lastBuildDateNode )
{
- printf( "Find /rss/channel/lastBuildDate/text()\n");
- printf("text() of lastBuildDate: %s\n", lastBuildDateNode->getText());
strcpy(lastBuildDateCurrent, lastBuildDateNode->getText());
} else {
fsusb30s = 1; // HSD2
