update
Revision 2:ac7586424119, committed 2016-06-02
- Comitter:
- hudakz
- Date:
- Thu Jun 02 16:51:36 2016 +0000
- Parent:
- 1:69c49c2be760
- Commit message:
- rev. 02
Changed in this revision
millis.cpp | Show annotated file Show diff for this revision Revisions of this file |
millis.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/millis.cpp Thu Jun 02 16:37:40 2016 +0000 +++ b/millis.cpp Thu Jun 02 16:51:36 2016 +0000 @@ -29,7 +29,8 @@ _millis++; } -extern "C" unsigned long millis(void) { +unsigned long millis(void) { return _millis; } +
--- a/millis.h Thu Jun 02 16:37:40 2016 +0000 +++ b/millis.h Thu Jun 02 16:51:36 2016 +0000 @@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -extern "C" void millisStart(void); -extern "C" unsigned long millis(void); +void millisStart(void); +unsigned long millis(void); #endif