summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaveHodder67 <dave.hodder@focusrite.com>2015-07-02 14:04:01 +0100
committerDaveHodder67 <dave.hodder@focusrite.com>2015-07-02 14:04:01 +0100
commitdf33abcb16302d6625427fc139903a22bb2b4283 (patch)
treee6b252f90303bd50f43aebe7fea6f4bdb9612202
parentc89f5a0e40ce2f3339e3b8213deb65f302aac7a1 (diff)
downloadlaunchpad-polymaker-df33abcb16302d6625427fc139903a22bb2b4283.tar.gz
launchpad-polymaker-df33abcb16302d6625427fc139903a22bb2b4283.zip
improved comments
-rw-r--r--include/app.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/app.h b/include/app.h
index 87c2bbd..ed946d5 100644
--- a/include/app.h
+++ b/include/app.h
@@ -87,14 +87,14 @@ void hal_send_midi(u8 port, u8 status, u8 data1, u8 data2);
87 * (F0 ... F7) and must not exceed 320 bytes. 87 * (F0 ... F7) and must not exceed 320 bytes.
88 * 88 *
89 * @param port - which port to send the message to - can be USBSTANDALONE, USBMIDI or DINMIDI. 89 * @param port - which port to send the message to - can be USBSTANDALONE, USBMIDI or DINMIDI.
90 * @param data - pointer to array containing sysex data. 90 * @param data - pointer to array containing sysex data. Can be on the stack.
91 * @param length - must not exceed 320 bytes. 91 * @param length - must not exceed 320 bytes, behaviour undefined if it does.
92 */ 92 */
93void hal_send_sysex(u8 port, const u8* data, u16 length); 93void hal_send_sysex(u8 port, const u8* data, u16 length);
94 94
95// ____________________________________________________________________________ 95// ____________________________________________________________________________
96// 96//
97// Interface from the hardware (implemented in app.c) 97// Callbacks from the hardware (implemented in your app.c)
98// ____________________________________________________________________________ 98// ____________________________________________________________________________
99 99
100/** 100/**
@@ -125,7 +125,7 @@ void app_midi_event(u8 port, u8 status, u8 d1, u8 d2);
125 * a maximum message size of 320 bytes, messages larger than this will not work. 125 * a maximum message size of 320 bytes, messages larger than this will not work.
126 * 126 *
127 * @param port - the port the message was received from - USBSTANDALONE, USBMIDI or DINMIDI. 127 * @param port - the port the message was received from - USBSTANDALONE, USBMIDI or DINMIDI.
128 * @param data - pointer to array containing sysex data. 128 * @param data - pointer to array containing sysex data. Only valid in the scope of this callback.
129 * @param length - the amount of data received. 129 * @param length - the amount of data received.
130 */ 130 */
131void app_sysex_event(u8 port, u8 * data, u16 count); 131void app_sysex_event(u8 port, u8 * data, u16 count);