summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md16
-rw-r--r--src/app.c2
2 files changed, 17 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3943a52..3ef9ee8 100644
--- a/README.md
+++ b/README.md
@@ -79,6 +79,22 @@ brew install gcc-arm-none-eabi
79make 79make
80``` 80```
81 81
82## Using Linux
83
84Install a compatible arm-none-eabi-gcc compiler from your distribution package
85manager. Make sure to initialize the submodules of this git repository after
86cloning.
87
88```
89git submodule init
90git submodule update
91make
92```
93
94You can use `make run` to upload the firmware to the Launchpad Pro using
95`amidi`. Make sure to update or pass the Makefile `PORT` variable with your
96Launchpad's ID, obtained using `amidi -l`.
97
82# Uploading to a Launchpad Pro 98# Uploading to a Launchpad Pro
83Now you've got some nice new code to run! To upload it to your Launchpad Pro, you'll need a sysex tool for your host platform (I'd love to get it working from the virtual machine, but that's for later). I recommend [Sysex Librarian](http://www.snoize.com/SysExLibrarian/) on macOS, and [MIDI OX](http://www.midiox.com/) on Windows. On Linux, I'll bet you already have a tool in mind. 99Now you've got some nice new code to run! To upload it to your Launchpad Pro, you'll need a sysex tool for your host platform (I'd love to get it working from the virtual machine, but that's for later). I recommend [Sysex Librarian](http://www.snoize.com/SysExLibrarian/) on macOS, and [MIDI OX](http://www.midiox.com/) on Windows. On Linux, I'll bet you already have a tool in mind.
84 100
diff --git a/src/app.c b/src/app.c
index aeb5c84..aacc68f 100644
--- a/src/app.c
+++ b/src/app.c
@@ -198,7 +198,7 @@ typedef struct State {
198 u8 ch_min; 198 u8 ch_min;
199 u8 ch_max; 199 u8 ch_max;
200 u8 ch_listen[16]; 200 u8 ch_listen[16];
201 u8 mode; 201 Mode mode;
202} State; 202} State;
203 203
204// Globals. 204// Globals.