summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-02-09 17:30:53 +0100
committerBad Diode <bd@badd10de.dev>2023-02-09 17:30:53 +0100
commit6966396ba6d6f2569d7cf57078be7c736b39da69 (patch)
tree3b26af44a8faa60382cd6b0747f82ff516601ad9
parent7ec0c7fa97a8d6ee5d51f0e040e331387c6b8b64 (diff)
downloadlaunchpad-polymaker-6966396ba6d6f2569d7cf57078be7c736b39da69.tar.gz
launchpad-polymaker-6966396ba6d6f2569d7cf57078be7c736b39da69.zip
Update README
-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.