Enabled use of real Napalm bus
This commit is contained in:
@@ -361,7 +361,8 @@ unsigned long gpio_output_clock (hwcBoardInfo *bInfo,
|
||||
b3 = BUILD_BYTE(v, 1, 7);
|
||||
b3 |= BUILD_BYTE(r, 0x7F, 0);
|
||||
|
||||
if (gpio_init(&GpioMask, /*pDev->dwBus*/2/*666*/))
|
||||
/* Use the bus number embedded at deviceNum[5:12]. */
|
||||
if (gpio_init(&GpioMask, /*pDev->dwBus*//*2*//*666*/(bInfo->deviceNum >> 5) & 0xFF))
|
||||
gpio_send_byte(&GpioMask, b1, b2, b3);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user