DefaultPlatform for Arduino

This commit is contained in:
lathoub 2020-03-17 09:22:24 +01:00
parent 2734894485
commit 8fc25fa8f9
2 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ build/
src/.DS_Store
examples/.DS_Store
.DS_Store
test/xcode

View File

@ -1,7 +1,7 @@
/*!
* @file midi_Platform.h
* Project Arduino MIDI Library
* @brief MIDI Library for the Arduino - Settings
* @brief MIDI Library for the Arduino - Platform
* @author Francois Best
* @date 24/02/11
* @license MIT - Copyright (c) 2015 Francois Best
@ -27,12 +27,18 @@
#pragma once
#include "midi_Defs.h"
BEGIN_MIDI_NAMESPACE
#if ARDUINO
// DefaultPlatform is the Arduino Platform
struct DefaultPlatform
{
static unsigned long now() { return ::millis(); };
};
#endif
END_MIDI_NAMESPACE