From: Uwe Hermann Date: Thu, 10 Mar 2016 21:19:14 +0000 (+0100) Subject: hantek_6022be.c: Fix build error. X-Git-Tag: sigrok-firmware-fx2lafw-0.1.4~44 X-Git-Url: http://sigrok.org/gitweb/?p=sigrok-firmware-fx2lafw.git;a=commitdiff_plain;h=1974eccb66634e2d7535a892d1c703665f757408 hantek_6022be.c: Fix build error. Drop handle_get_descriptor(), since it's already provided by fx2lib/lib/setupdat.c, in order to fix the following linker error: Multiple definition of _handle_get_descriptor Makefile:925: recipe for target 'hw/hantek-6022be/hantek-6022be.ihx' failed --- diff --git a/hantek_6022be.c b/hantek_6022be.c index 8a73cc07..79c8264a 100644 --- a/hantek_6022be.c +++ b/hantek_6022be.c @@ -408,10 +408,6 @@ BOOL set_samplerate(BYTE rate) return TRUE; } -BOOL handle_get_descriptor() { - return FALSE; -} - //************************** Configuration Handlers ***************************** // set *alt_ifc to the current alt interface for ifc