Skip to content

Commit e31d0a1

Browse files
author
Francois Best
committed
Doc.
1 parent 3dc0f30 commit e31d0a1

File tree

6 files changed

+1614
-1085
lines changed

6 files changed

+1614
-1085
lines changed

doc/Doxyfile

Lines changed: 1602 additions & 1076 deletions
Large diffs are not rendered by default.

res/packaging.command

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ cd "`dirname "${0}"`"
1212
root="${PWD}/.."
1313
build="$root/build/MIDI"
1414

15-
echo root $root
16-
echo build $build
15+
echo "root: $root"
16+
echo "build: $build"
1717

1818
# Create a temporary destination folder
1919
mkdir -p "$build"
@@ -34,3 +34,7 @@ cp -r * "$build/examples"
3434
# Generate package
3535
cd "$build/.."
3636
zip -r Arduino_MIDI_Library.zip MIDI
37+
38+
# Generate doc
39+
cd "$root/doc"
40+
doxygen .

src/MIDI.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ class MidiInterface
179179
inline void turnThruOff();
180180
inline void setThruFilterMode(MidiFilterMode inThruFilterMode);
181181

182-
183182
private:
184183
void thruFilter(byte inChannel);
185184

src/MIDI.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @file midi_Inline.hpp
2+
* @file MIDI.hpp
33
* Project Arduino MIDI Library
44
* @brief MIDI Library for the Arduino - Inline implementations
55
* @version 4.2
@@ -1201,6 +1201,4 @@ void MidiInterface<SerialPort, Settings>::thruFilter(Channel inChannel)
12011201
}
12021202
}
12031203

1204-
// -----------------------------------------------------------------------------
1205-
12061204
END_MIDI_NAMESPACE

src/midi_Defs.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ typedef uint8_t byte;
3434

3535
BEGIN_MIDI_NAMESPACE
3636

37-
// -----------------------------------------------------------------------------
38-
3937
#define MIDI_CHANNEL_OMNI 0
4038
#define MIDI_CHANNEL_OFF 17 // and over
4139

src/midi_Settings.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,20 @@
2727

2828
BEGIN_MIDI_NAMESPACE
2929

30-
/*! \brief Default Settings Traits struct
30+
/*! \brief Default Settings for the MIDI Library.
31+
3132
To change the default settings, don't edit them there, create a subclass and
3233
override the values in that subclass, then use the MIDI_CREATE_CUSTOM_INSTANCE
3334
macro to create your instance. The settings you don't override will keep their
3435
default value. Eg:
36+
\code{.cpp}
3537
struct MySettings : public midi::DefaultSettings
3638
{
3739
static const bool UseRunningStatus = false; // Messes with my old equipment!
3840
};
41+
3942
MIDI_CREATE_CUSTOM_INSTANCE(HardwareSerial, Serial2, midi, MySettings);
43+
\endcode
4044
*/
4145
struct DefaultSettings
4246
{

0 commit comments

Comments
 (0)