diff options
-rw-r--r-- | include/app.h | 12 | ||||
-rw-r--r-- | lib/launchpad_pro.a | bin | 179888 -> 180180 bytes |
2 files changed, 11 insertions, 1 deletions
diff --git a/include/app.h b/include/app.h index fdea133..6752b62 100644 --- a/include/app.h +++ b/include/app.h | |||
@@ -140,7 +140,7 @@ void hal_read_flash(u32 offset, u8 *data, u32 length); | |||
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 | /** | 142 | /** |
143 | * Retrieve the device ID | 143 | * Retrieve the device ID bootloader option |
144 | * | 144 | * |
145 | * Users can set a unique ID from 1-16 in the bootloader. This is useful | 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. | 146 | * for USB apps, as it helps multi-Launchpad setups behave predictably. |
@@ -149,6 +149,16 @@ void hal_write_flash(u32 offset,const u8 *data, u32 length); | |||
149 | */ | 149 | */ |
150 | u8 hal_read_device_id(); | 150 | u8 hal_read_device_id(); |
151 | 151 | ||
152 | /** | ||
153 | * Retrieve the "layout text" bootloader option | ||
154 | * | ||
155 | * This setting determines whether the factory firmware will scroll text on changing | ||
156 | * layouts. This may be useful as a preference for open firmware apps as well. | ||
157 | * | ||
158 | * @result 1 to scroll text on layout changes, 0 not to. | ||
159 | */ | ||
160 | u8 hal_read_layout_text(); | ||
161 | |||
152 | // ____________________________________________________________________________ | 162 | // ____________________________________________________________________________ |
153 | // | 163 | // |
154 | // Callbacks from the hardware (implemented in your app.c) | 164 | // Callbacks from the hardware (implemented in your app.c) |
diff --git a/lib/launchpad_pro.a b/lib/launchpad_pro.a index 1d4686d..c2afa5a 100644 --- a/lib/launchpad_pro.a +++ b/lib/launchpad_pro.a | |||
Binary files differ | |||