Fix Readme & help output

pull/7/head
nirenjan 2015-12-03 08:39:01 -08:00
parent 5d0684a154
commit 9dcc3507ed
2 changed files with 5 additions and 5 deletions

View File

@ -26,13 +26,13 @@ You will need the following packages:
* automake
* autoconf
* libusb-1.0-0-dev
* libusb-1.0-0-dev (Package name may vary across distributions)
## Installation
1. Clone the parent Git repository
2. CD to the libx52 folder and run autogen.sh
2. Run autogen.sh
3. Run configure; make and sudo make install.
The test program is not installed, there will be a separate command line utility
in the future that utilizes the library and communicates with the joystick.
The test program is not installed. Use x52cli to communicate with the joystick
and set the LEDs and MFD state.

View File

@ -297,7 +297,7 @@ static int do_help(const struct command_handler *cmd)
{
int i;
if (cmd) {
fprintf(stderr, "Command usage: %s", cmd->help);
fprintf(stderr, "Command usage: %s\n", cmd->help);
} else {
printf("\nCommands:\n");
for (i = 0; i < X52_CTL_CMD_MAX; i++) {