Re: [PARPORT] searching example for ppdev and interupt

From: Tim Waugh (twaugh@redhat.com)
Date: Wed Feb 27 2002 - 09:17:11 EST

  • Next message: norman: "Re: [PARPORT] searching example for ppdev and interupt"

    On Wed, Feb 27, 2002 at 02:22:13PM +0100, norman wrote:

    > but i dont know yet what this means:
    >
    > int busy = nAck | nFault;
    > int acking = nFault;
    > int ready = Busy | nAck | nFault;
    >
    > Iam getting some errors during the build:
    >
    > inttest.c:27: `nAck' undeclared (first use in this function)
    > inttest.c:27: (Each undeclared identifier is reported only once
    > inttest.c:27: for each function it appears in.)
    > inttest.c:27: `nFault' undeclared (first use in this function)
    > inttest.c:29: `Busy' undeclared (first use in this function)
    >
    > Where is the problem ?

    They're short-hand for signal names. Use PARPORT_CONTROL_...,
    PARPORT_STATUS_... etc.

    By the way, consider using libieee1284 rather than ppdev directly.

    Tim.
    */



    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Wed Feb 27 2002 - 09:20:13 EST