]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/fx2lafw/api.c
Build: Include <config.h> first in all source files
[libsigrok.git] / src / hardware / fx2lafw / api.c
index 4348e680825af8c1f9be71ad8f344bd0a3607d2a..ed4405373720f5f693315f001070e28d099a01c8 100644 (file)
@@ -18,6 +18,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include "protocol.h"
 #include "dslogic.h"
 
@@ -778,8 +779,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
 
        if (devc->dslogic) {
                dslogic_trigger_request(sdi);
-       }
-       else {
+       } else {
                start_transfers(sdi);
                if ((ret = fx2lafw_command_start_acquisition(sdi)) != SR_OK) {
                        fx2lafw_abort_acquisition(devc);