1
0
mirror of synced 2024-11-27 22:50:47 +01:00

Merge pull request #10 from bobbydilley/docfixes

Fix grammar
This commit is contained in:
Bobby Dilley 2024-01-19 11:05:46 +00:00 committed by GitHub
commit f0baaaa66c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -131,7 +131,7 @@ int baseboardIoctl(int fd, unsigned int request, void *data)
}
break;
case BASEBOARD_READY: // Not sure this is what it should be called
case BASEBOARD_READY: // Not sure if this is what it should be called
{
selectReply = 0;
return 0;

View File

@ -94,7 +94,7 @@ int eepromIoctl(int fd, unsigned int request, void *data)
uint32_t *functions = data;
functions[0] = 0x20000 | 0x40000 | 0x100000 | 0x400000 | 0x8000000;
// The following is taken from the eeprom init sequence in The House Of The Dead 4 so lets add em on!
// The following is taken from the eeprom init sequence in The House Of The Dead 4 so let's add em on!
functions[0] = functions[0] | 0x20000 | 0x40000 | 0x80000 | 0x100000 | 0x200000 | 0x400000 | 0x1000000 | 0x2000000;
}
break;

View File

@ -624,7 +624,7 @@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
struct sockaddr_in *in_pointer = (struct sockaddr_in *)addr;
// Change the IP to connect to to 127.0.0.1
// Change the IP to connect to 127.0.0.1
// in_pointer->sin_addr.s_addr = inet_addr("127.0.0.1");
char *some_addr = inet_ntoa(in_pointer->sin_addr);
if (getConfig()->showDebugMessages)

View File

@ -34,7 +34,7 @@
#define REPORT_PARAMETER_ERROR2 0x03
#define REPORT_BUSY 0x04 // some attached hardware was busy, causing the request to fail
/* All of the commands */
/* All the commands */
#define CMD_RESET 0xF0 // reset bus
#define CMD_RESET_ARG 0xD9 // fixed argument to reset command
#define CMD_ASSIGN_ADDR 0xF1 // assign address to slave