Change last_comand_pointer to last_command_pointer by Michael Bruck <mbruck@digenius.de>
[fw/openocd] / src / jtag / bitbang.c
index ea1f016cacc3f4d4cdbf2606839cb7912c3510b6..9cb7edc03258f6e069388d3f6ac71c0a07cb19bc 100644 (file)
 #endif
 
 #include "bitbang.h"
-
-/* project specific includes */
-#include "log.h"
-#include "types.h"
 #include "jtag.h"
-#include "configuration.h"
-
-/* system includes */
-#include <string.h>
-#include <stdlib.h>
-#include <unistd.h>
-
 
 /**
  * Function bitbang_stableclocks
@@ -179,7 +168,7 @@ static void bitbang_stableclocks(int num_cycles)
 
 
 
-static void bitbang_scan(int ir_scan, enum scan_type type, u8 *buffer, int scan_size)
+static void bitbang_scan(bool ir_scan, enum scan_type type, u8 *buffer, int scan_size)
 {
        tap_state_t saved_end_state = tap_get_end_state();
        int bit_cnt;