1
0
mirror of synced 2024-11-14 14:47:35 +01:00

Fix grammar

This commit is contained in:
Rolel 2023-12-31 00:18:32 +01:00
parent 7f6dabf4f6
commit 106a9dbb9f
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; 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; selectReply = 0;
return 0; return 0;

View File

@ -94,7 +94,7 @@ int eepromIoctl(int fd, unsigned int request, void *data)
uint32_t *functions = data; uint32_t *functions = data;
functions[0] = 0x20000 | 0x40000 | 0x100000 | 0x400000 | 0x8000000; 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; functions[0] = functions[0] | 0x20000 | 0x40000 | 0x80000 | 0x100000 | 0x200000 | 0x400000 | 0x1000000 | 0x2000000;
} }
break; break;

View File

@ -603,7 +603,7 @@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen)
struct sockaddr_in *in_pointer = (struct sockaddr_in *)addr; 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"); // in_pointer->sin_addr.s_addr = inet_addr("127.0.0.1");
char *some_addr = inet_ntoa(in_pointer->sin_addr); char *some_addr = inet_ntoa(in_pointer->sin_addr);
if (getConfig()->showDebugMessages) if (getConfig()->showDebugMessages)

View File

@ -171,7 +171,7 @@ JVSStatus processPacket(int *packetSize)
if (inputPacket.destination != BROADCAST && inputPacket.destination != io.deviceID) if (inputPacket.destination != BROADCAST && inputPacket.destination != io.deviceID)
return JVS_STATUS_NOT_FOR_US; return JVS_STATUS_NOT_FOR_US;
/* Setup the output packet */ /* Set up the output packet */
outputPacket.length = 0; outputPacket.length = 0;
outputPacket.destination = BUS_MASTER; outputPacket.destination = BUS_MASTER;

View File

@ -34,7 +34,7 @@
#define REPORT_PARAMETER_ERROR2 0x03 #define REPORT_PARAMETER_ERROR2 0x03
#define REPORT_BUSY 0x04 // some attached hardware was busy, causing the request to fail #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 0xF0 // reset bus
#define CMD_RESET_ARG 0xD9 // fixed argument to reset command #define CMD_RESET_ARG 0xD9 // fixed argument to reset command
#define CMD_ASSIGN_ADDR 0xF1 // assign address to slave #define CMD_ASSIGN_ADDR 0xF1 // assign address to slave