X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ccdbg.h;h=8ccd477012ca6d7264a8f8810a4aa911e7825019;hp=19cf8fa3fe7a29ca503e7ddde5ceb678f0bef575;hb=584e28bac8af38de433767e017977ed1adddeb36;hpb=3709ec3205cfb152b6568f3ea505c67fe7504c2a diff --git a/ccdbg.h b/ccdbg.h index 19cf8fa3..8ccd4770 100644 --- a/ccdbg.h +++ b/ccdbg.h @@ -33,8 +33,8 @@ #undef USE_KERNEL #ifdef USE_KERNEL #include -#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 @@ -45,7 +45,7 @@ /* painfully slow for now */ -#define CC_CLOCK_US (100 * 1000) +#define CC_CLOCK_US (100) struct ccdbg { usb_dev_handle *usb_dev;