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.
Revision 2:56fbeac9ddc8, committed 2011-01-28
- Comitter:
- simon
- Date:
- Fri Jan 28 11:00:58 2011 +0000
- Parent:
- 1:eaf79a9d2939
- Commit message:
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r eaf79a9d2939 -r 56fbeac9ddc8 main.cpp
--- a/main.cpp Fri Jan 28 10:56:45 2011 +0000
+++ b/main.cpp Fri Jan 28 11:00:58 2011 +0000
@@ -158,11 +158,11 @@
START("PortOut");
for(int i=0; i<LOOPS; i++) {
- binc6(i & 0xF);
+ binc6(i % 0xF);
}
STOP();
- START("PortOut lookup");
+ START("PortOut with mask loocup, but caller loop optimised");
for(int i=0; i<LOOPS; i++) {
binc7(i & 0xF);
}