[quoted lines by Samuel Thibault on 2008/01/13 at 05:26 +0000]
>I'm giving a try at routing keys, but there's a line in the driver that
>I don't understand:
>
>resetKeyGroup(packet.data.values.routingKeys, cellCount,
>packet.data.values.routingKey);
>
>packet.data.values.routingKeys ad routingKey are part of the same union,
>so the resetKeyGroup call seems bogus to me, and the RSP_RoutingKeys
>packet is 2 bytes only anyway.
case BAUM_RSP_RoutingKey: // singular
resetKeyGroup(packet.data.values.routingKeys, cellCount,
packet.data.values.routingKey);
goto doRoutingKeys; // plural
This code converts a single-key function into a key-group function. This
technique is simply a quick way of implementing the single-key functions as
their corresponding key-group functions so that they can be most easily
handled.
--
Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: [EMAIL PROTECTED] | Canada K2A 1H7 | if you're concerned about Hell.
http://FamilyRadio.com/ | http://Mielke.cc/bible/
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty