diff options
-rw-r--r-- | include/app.h | 10 | ||||
-rw-r--r-- | lib/launchpad_pro.a | bin | 179592 -> 179888 bytes |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/app.h b/include/app.h index b06f7a6..fdea133 100644 --- a/include/app.h +++ b/include/app.h | |||
@@ -139,6 +139,16 @@ void hal_read_flash(u32 offset, u8 *data, u32 length); | |||
139 | */ | 139 | */ |
140 | void hal_write_flash(u32 offset,const u8 *data, u32 length); | 140 | void hal_write_flash(u32 offset,const u8 *data, u32 length); |
141 | 141 | ||
142 | /** | ||
143 | * Retrieve the device ID | ||
144 | * | ||
145 | * Users can set a unique ID from 1-16 in the bootloader. This is useful | ||
146 | * for USB apps, as it helps multi-Launchpad setups behave predictably. | ||
147 | * | ||
148 | * @result the zero-based device ID [0-15] assigned to this Launchpad Pro. | ||
149 | */ | ||
150 | u8 hal_read_device_id(); | ||
151 | |||
142 | // ____________________________________________________________________________ | 152 | // ____________________________________________________________________________ |
143 | // | 153 | // |
144 | // Callbacks from the hardware (implemented in your app.c) | 154 | // Callbacks from the hardware (implemented in your app.c) |
diff --git a/lib/launchpad_pro.a b/lib/launchpad_pro.a index 70b470c..1d4686d 100644 --- a/lib/launchpad_pro.a +++ b/lib/launchpad_pro.a | |||
Binary files differ | |||