OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
Source at commit d3ed7805ffe8050b877d7dba02e8eb16e9abbd45 created 12 years 1 month ago. By Xiangfu Liu, cgminer: disable auto detect since Icarus use default PL2303 configuration | |
---|---|
1 | diff --git a/icarus.c b/icarus.c |
2 | index 141d639..2e89a86 100644 |
3 | --- a/icarus.c |
4 | +++ b/icarus.c |
5 | @@ -251,7 +251,7 @@ static uint64_t icarus_scanhash(struct thr_info *thr, struct work *work, uint64_ |
6 | work->blk.nonce = 0xffffffff; |
7 | |
8 | memcpy((char *)&nonce, pdevbuf, sizeof(pdevbuf)); |
9 | -#ifndef __BIG_ENDIAN__ |
10 | +#if !defined (__BIG_ENDIAN__) && !defined(MIPSEB) |
11 | nonce = swab32(nonce); |
12 | #endif |
13 | submit_nonce(thr, work, nonce); |
14 |