diff options
author | Dave Hodder <dave.hodder@focusrite.com> | 2017-01-10 13:16:33 +0000 |
---|---|---|
committer | Dave Hodder <dave.hodder@focusrite.com> | 2017-01-10 13:16:33 +0000 |
commit | 7bd3af99c7518e5e7bcb9c59b01c025b4dbd1cbb (patch) | |
tree | 471ad18e4d5e97d161f901412a054b1c26853ffe /tools | |
parent | 4f4a7cc4480b6ef2bbfee517621131393fce0e96 (diff) | |
download | launchpad-polymaker-7bd3af99c7518e5e7bcb9c59b01c025b4dbd1cbb.tar.gz launchpad-polymaker-7bd3af99c7518e5e7bcb9c59b01c025b4dbd1cbb.zip |
fixed simulator after adding adc api
Diffstat (limited to 'tools')
-rw-r--r-- | tools/simulator.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/simulator.c b/tools/simulator.c index 0df95ab..138277e 100644 --- a/tools/simulator.c +++ b/tools/simulator.c | |||
@@ -73,10 +73,12 @@ void hal_write_flash(u32 offset,const u8 *data, u32 length) | |||
73 | // these up to a MIDI input from the real Launchpad Pro! | 73 | // these up to a MIDI input from the real Launchpad Pro! |
74 | // ____________________________________________________________________________ | 74 | // ____________________________________________________________________________ |
75 | 75 | ||
76 | static u16 raw_ADC[64]; | ||
77 | |||
76 | static void sim_app_init() | 78 | static void sim_app_init() |
77 | { | 79 | { |
78 | printf("calling app_init()...\n"); | 80 | printf("calling app_init()...\n"); |
79 | app_init(); | 81 | app_init(raw_ADC); |
80 | } | 82 | } |
81 | 83 | ||
82 | static void sim_app_surface_event(u8 type, u8 index, u8 value) | 84 | static void sim_app_surface_event(u8 type, u8 index, u8 value) |