added parameters to main()
git-svn-id: svn://anubis/misc/parapin-led@52 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
c2075e0a66
commit
a41ff63d92
4
led.c
4
led.c
@ -1,6 +1,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <parapin.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define LED_A LP_PIN02
|
||||
#define LED_B LP_PIN03
|
||||
@ -39,7 +39,7 @@ int position2pins[] = {
|
||||
|
||||
void turnOnDigit(int digitPosition, int value);
|
||||
|
||||
int main()
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
/* initialize the parapin user-land library */
|
||||
pin_init_user(LPT1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user