summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Hodder <dave.hodder@focusrite.com>2017-01-10 13:16:33 +0000
committerDave Hodder <dave.hodder@focusrite.com>2017-01-10 13:16:33 +0000
commit7bd3af99c7518e5e7bcb9c59b01c025b4dbd1cbb (patch)
tree471ad18e4d5e97d161f901412a054b1c26853ffe
parent4f4a7cc4480b6ef2bbfee517621131393fce0e96 (diff)
downloadlaunchpad-polymaker-7bd3af99c7518e5e7bcb9c59b01c025b4dbd1cbb.tar.gz
launchpad-polymaker-7bd3af99c7518e5e7bcb9c59b01c025b4dbd1cbb.zip
fixed simulator after adding adc api
-rw-r--r--tools/simulator.c4
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
76static u16 raw_ADC[64];
77
76static void sim_app_init() 78static 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
82static void sim_app_surface_event(u8 type, u8 index, u8 value) 84static void sim_app_surface_event(u8 type, u8 index, u8 value)