Clean up sample debug files
[fw/altos] / ccdbg.h
diff --git a/ccdbg.h b/ccdbg.h
index 19cf8fa3fe7a29ca503e7ddde5ceb678f0bef575..8ccd477012ca6d7264a8f8810a4aa911e7825019 100644 (file)
--- a/ccdbg.h
+++ b/ccdbg.h
@@ -33,8 +33,8 @@
 #undef USE_KERNEL
 #ifdef USE_KERNEL
 #include <cp2101.h>
 #undef USE_KERNEL
 #ifdef USE_KERNEL
 #include <cp2101.h>
-#define CC_DATA                CP2101_GPIO_MASK(0)
-#define CC_CLOCK       CP2101_GPIO_MASK(1)
+#define CC_CLOCK       CP2101_GPIO_MASK(0)
+#define CC_DATA                CP2101_GPIO_MASK(1)
 #define CC_RESET_N     CP2101_GPIO_MASK(2)
 #else
 #define CC_CLOCK       0x1
 #define CC_RESET_N     CP2101_GPIO_MASK(2)
 #else
 #define CC_CLOCK       0x1
@@ -45,7 +45,7 @@
 
 
 /* painfully slow for now */
 
 
 /* painfully slow for now */
-#define CC_CLOCK_US    (100 * 1000)
+#define CC_CLOCK_US    (100)
 
 struct ccdbg {
        usb_dev_handle  *usb_dev;
 
 struct ccdbg {
        usb_dev_handle  *usb_dev;