Subversion Repositories FlightCtrl

Rev

Rev 56 | Rev 64 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 56 Rev 60
Line 8... Line 8...
8
 
8
 
9
int main(int argv, char *argc[])
9
int main(int argv, char *argc[])
10
{
10
{
11
        if(argv != 4)
11
        if(argv != 4)
12
        {      
12
        {      
13
                printf("\nUsage: ./main <setting_file> <setting> <serial_port>\n\n\n");
13
                printf("\nUsage: ./mkset <setting_file> <setting> <serial_port>\n\n\n");
14
                printf("\t Example: ./main Default.mkp 1 /dev/ttyS0\n\n");
14
                printf("\t Example: ./mkset Default.mkp 1 /dev/ttyS0\n\n");
15
                exit(2);
15
                exit(2);
16
        }
16
        }
17
        dictionary *d;
17
        dictionary *d;
18
       
18
       
19
        d = iniparser_load(argc[1]);
19
        d = iniparser_load(argc[1]);