Skip to content

Commit

Permalink
Rebase to sys-botbase's update for 19.0.0
Browse files Browse the repository at this point in the history
Fix wrong getVersion assumption during rebase.
Update ReadMe.md
  • Loading branch information
Koi-3088 committed Oct 18, 2024
1 parent f904c7b commit b9b572c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This project was created for the purpose of development for bot automation. The
4. Restart your Switch.
5. Follow [SysBot's usb-botbase setup guide](https://github.com/kwsch/SysBot.NET/wiki/Configuring-a-new-USB-Connection).

When installed correctly, sys-botbase will make your docked joy-con's home button glow on switch bootup. If this does not happen, sys-botbase is not installed correctly.
When installed correctly, usb-botbase will make your docked joy-con's home button glow on switch bootup. If this does not happen, sys-botbase is not installed correctly.

![](joycon-glow.gif)

Expand Down
8 changes: 3 additions & 5 deletions sys-botbase/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -649,11 +649,9 @@ int argmain(int argc, char **argv)

if(!strcmp(argv[0], "getVersion")){
if (usb)
{
char buf[] = VERSION_S;
strcat(buf, "\n");
response.data = buf;
response.size = sizeof(buf);
{
response.data = VERSION_S;
response.size = sizeof(VERSION_S);
sendUsbResponse(response);
}
else printf("%s\n", VERSION_S);
Expand Down

0 comments on commit b9b572c

Please sign in to comment.