From 7bd3af99c7518e5e7bcb9c59b01c025b4dbd1cbb Mon Sep 17 00:00:00 2001 From: Dave Hodder Date: Tue, 10 Jan 2017 13:16:33 +0000 Subject: fixed simulator after adding adc api --- tools/simulator.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') 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) // these up to a MIDI input from the real Launchpad Pro! // ____________________________________________________________________________ +static u16 raw_ADC[64]; + static void sim_app_init() { printf("calling app_init()...\n"); - app_init(); + app_init(raw_ADC); } static void sim_app_surface_event(u8 type, u8 index, u8 value) -- cgit v1.2.1