From 7e50be40dde5ca424b4cb77633ff8f633c0508cc Mon Sep 17 00:00:00 2001 From: Rodrigo Alfonso Date: Sat, 24 Feb 2024 02:20:24 -0300 Subject: [PATCH] Version => v6.2.2 --- examples/LinkCableMultiboot_demo/src/main.cpp | 2 +- examples/LinkCable_basic/src/main.cpp | 2 +- examples/LinkCable_full/src/main.cpp | 4 ++-- examples/LinkCable_stress/src/main.cpp | 4 ++-- examples/LinkGPIO_demo/src/main.cpp | 2 +- examples/LinkRawCable_demo/src/main.cpp | 2 +- examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp | 2 +- examples/LinkSPI_demo/src/main.cpp | 2 +- examples/LinkUniversal_basic/src/main.cpp | 2 +- .../LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp | 2 +- examples/LinkWireless_demo/src/main.cpp | 2 +- lib/LinkCable.hpp | 2 +- lib/LinkCableMultiboot.hpp | 2 +- lib/LinkGPIO.hpp | 2 +- lib/LinkRawCable.hpp | 2 +- lib/LinkRawWireless.hpp | 2 +- lib/LinkSPI.hpp | 2 +- lib/LinkUniversal.hpp | 2 +- lib/LinkWireless.hpp | 2 +- lib/LinkWirelessMultiboot.hpp | 2 +- lib/LinkWirelessOpenSDK.hpp | 2 +- 21 files changed, 23 insertions(+), 23 deletions(-) diff --git a/examples/LinkCableMultiboot_demo/src/main.cpp b/examples/LinkCableMultiboot_demo/src/main.cpp index fb260f3..9b0aadf 100644 --- a/examples/LinkCableMultiboot_demo/src/main.cpp +++ b/examples/LinkCableMultiboot_demo/src/main.cpp @@ -49,7 +49,7 @@ int main() { // Sender options if (isSenderMode) { if (result != LinkCableMultiboot::Result::SUCCESS) - log("LinkCableMultiboot_demo\n (v6.2.1)\n\nPress START to send the " + log("LinkCableMultiboot_demo\n (v6.2.2)\n\nPress START to send the " "ROM...\nPress B to set client mode..."); if (keys & KEY_START) { diff --git a/examples/LinkCable_basic/src/main.cpp b/examples/LinkCable_basic/src/main.cpp index 578d5ef..5e4717b 100644 --- a/examples/LinkCable_basic/src/main.cpp +++ b/examples/LinkCable_basic/src/main.cpp @@ -45,7 +45,7 @@ int main() { u16 keys = ~REG_KEYS & KEY_ANY; linkCable->send(keys + 1); // (avoid using 0) - std::string output = "LinkCable_basic (v6.2.1)\n\n"; + std::string output = "LinkCable_basic (v6.2.2)\n\n"; if (linkCable->isConnected()) { u8 playerCount = linkCable->playerCount(); u8 currentPlayerId = linkCable->currentPlayerId(); diff --git a/examples/LinkCable_full/src/main.cpp b/examples/LinkCable_full/src/main.cpp index 10b615a..8ed571f 100644 --- a/examples/LinkCable_full/src/main.cpp +++ b/examples/LinkCable_full/src/main.cpp @@ -93,10 +93,10 @@ inline void setUpInterrupts() { void printTutorial() { #ifndef USE_LINK_UNIVERSAL - DEBULOG("LinkCable_full (v6.2.1)"); + DEBULOG("LinkCable_full (v6.2.2)"); #endif #ifdef USE_LINK_UNIVERSAL - DEBULOG("LinkUniversal_full (v6.2.1)"); + DEBULOG("LinkUniversal_full (v6.2.2)"); #endif DEBULOG(""); diff --git a/examples/LinkCable_stress/src/main.cpp b/examples/LinkCable_stress/src/main.cpp index 4341355..5029c0f 100644 --- a/examples/LinkCable_stress/src/main.cpp +++ b/examples/LinkCable_stress/src/main.cpp @@ -89,10 +89,10 @@ int main() { while (true) { #ifndef USE_LINK_UNIVERSAL - std::string output = "LinkCable_stress (v6.2.1)\n\n"; + std::string output = "LinkCable_stress (v6.2.2)\n\n"; #endif #ifdef USE_LINK_UNIVERSAL - std::string output = "LinkUniversal_stress (v6.2.1)\n\n"; + std::string output = "LinkUniversal_stress (v6.2.2)\n\n"; #endif linkConnection->deactivate(); diff --git a/examples/LinkGPIO_demo/src/main.cpp b/examples/LinkGPIO_demo/src/main.cpp index fb55071..2d61744 100644 --- a/examples/LinkGPIO_demo/src/main.cpp +++ b/examples/LinkGPIO_demo/src/main.cpp @@ -27,7 +27,7 @@ int main() { while (true) { // (3) Use the pins - std::string output = "LinkGPIO_demo (v6.2.1)\n\n"; + std::string output = "LinkGPIO_demo (v6.2.2)\n\n"; // Commands u16 keys = ~REG_KEYS & KEY_ANY; diff --git a/examples/LinkRawCable_demo/src/main.cpp b/examples/LinkRawCable_demo/src/main.cpp index 1557e52..c71f1d8 100644 --- a/examples/LinkRawCable_demo/src/main.cpp +++ b/examples/LinkRawCable_demo/src/main.cpp @@ -33,7 +33,7 @@ int main() { u16 prevKeys = 0; while (true) { - std::string output = "LinkRawCable_demo (v6.2.1)\n\n"; + std::string output = "LinkRawCable_demo (v6.2.2)\n\n"; u16 keys = ~REG_KEYS & KEY_ANY; if (!linkRawCable->isActive()) { diff --git a/examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp b/examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp index 2310fde..25d0b4f 100644 --- a/examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp +++ b/examples/LinkRawWireless_demo/src/scenes/DebugScene.cpp @@ -139,7 +139,7 @@ void DebugScene::load() { log("---"); log("LinkRawWireless demo"); - log(" (v6.2.1)"); + log(" (v6.2.2)"); log(""); log("START: reset wireless adapter"); log("A: send command"); diff --git a/examples/LinkSPI_demo/src/main.cpp b/examples/LinkSPI_demo/src/main.cpp index 6e9646d..68ee9c1 100644 --- a/examples/LinkSPI_demo/src/main.cpp +++ b/examples/LinkSPI_demo/src/main.cpp @@ -32,7 +32,7 @@ int main() { u32 counter = 0; while (true) { - std::string output = "LinkSPI_demo (v6.2.1)\n\n"; + std::string output = "LinkSPI_demo (v6.2.2)\n\n"; u16 keys = ~REG_KEYS & KEY_ANY; if (!linkSPI->isActive()) { diff --git a/examples/LinkUniversal_basic/src/main.cpp b/examples/LinkUniversal_basic/src/main.cpp index 34ac403..ac5a68c 100644 --- a/examples/LinkUniversal_basic/src/main.cpp +++ b/examples/LinkUniversal_basic/src/main.cpp @@ -21,7 +21,7 @@ void init() { int main() { init(); - log("LinkUniversal_basic (v6.2.1)\n\n\nPress A to start\n\n\nhold LEFT on " + log("LinkUniversal_basic (v6.2.2)\n\n\nPress A to start\n\n\nhold LEFT on " "start:\n -> force cable\n\nhold RIGHT on start:\n -> force " "wireless\n\nhold UP on start:\n -> force wireless server\n\nhold DOWN " "on start:\n -> force wireless client\n\nhold B on start:\n -> set 2 " diff --git a/examples/LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp b/examples/LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp index 5758ae3..2bdc04a 100644 --- a/examples/LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp +++ b/examples/LinkWirelessMultiboot_demo/src/scenes/MultibootScene.cpp @@ -133,7 +133,7 @@ void MultibootScene::load() { log("---"); log("LinkWirelessMultiboot demo"); - log(" (v6.2.1)"); + log(" (v6.2.2)"); log(""); if (fs == NULL) { log("! GBFS file not found"); diff --git a/examples/LinkWireless_demo/src/main.cpp b/examples/LinkWireless_demo/src/main.cpp index aeb211d..062ee46 100644 --- a/examples/LinkWireless_demo/src/main.cpp +++ b/examples/LinkWireless_demo/src/main.cpp @@ -47,7 +47,7 @@ int main() { start: // Options - log("LinkWireless_demo (v6.2.1)\n\n\n\nPress A to start\n\n\n\n\nhold LEFT " + log("LinkWireless_demo (v6.2.2)\n\n\n\nPress A to start\n\n\n\n\nhold LEFT " "on start:\n -> disable forwarding\n\nhold UP on start:\n -> disable " "retransmission\n\nhold B on start:\n -> set 2 players\n\nhold START on " "start:\n -> async ACK"); diff --git a/lib/LinkCable.hpp b/lib/LinkCable.hpp index cd18e5d..60e1f47 100644 --- a/lib/LinkCable.hpp +++ b/lib/LinkCable.hpp @@ -67,7 +67,7 @@ #define LINK_CABLE_BIT_GENERAL_PURPOSE_HIGH 15 #define LINK_CABLE_BARRIER asm volatile("" ::: "memory") -static volatile char LINK_CABLE_VERSION[] = "LinkCable/v6.2.1"; +static volatile char LINK_CABLE_VERSION[] = "LinkCable/v6.2.2"; void LINK_CABLE_ISR_VBLANK(); void LINK_CABLE_ISR_SERIAL(); diff --git a/lib/LinkCableMultiboot.hpp b/lib/LinkCableMultiboot.hpp index ad75702..7443f44 100644 --- a/lib/LinkCableMultiboot.hpp +++ b/lib/LinkCableMultiboot.hpp @@ -55,7 +55,7 @@ return error(FAILURE_DURING_HANDSHAKE); static volatile char LINK_CABLE_MULTIBOOT_VERSION[] = - "LinkCableMultiboot/v6.2.1"; + "LinkCableMultiboot/v6.2.2"; const u8 LINK_CABLE_MULTIBOOT_CLIENT_IDS[] = {0b0010, 0b0100, 0b1000}; diff --git a/lib/LinkGPIO.hpp b/lib/LinkGPIO.hpp index 26503ef..f912b79 100644 --- a/lib/LinkGPIO.hpp +++ b/lib/LinkGPIO.hpp @@ -35,7 +35,7 @@ else \ REG &= ~(1 << BIT); -static volatile char LINK_GPIO_VERSION[] = "LinkGPIO/v6.2.1"; +static volatile char LINK_GPIO_VERSION[] = "LinkGPIO/v6.2.2"; const u8 LINK_GPIO_DATA_BITS[] = {2, 3, 1, 0}; const u8 LINK_GPIO_DIRECTION_BITS[] = {6, 7, 5, 4}; diff --git a/lib/LinkRawCable.hpp b/lib/LinkRawCable.hpp index 455428a..1373eea 100644 --- a/lib/LinkRawCable.hpp +++ b/lib/LinkRawCable.hpp @@ -55,7 +55,7 @@ } \ } -static volatile char LINK_RAW_CABLE_VERSION[] = "LinkRawCable/v6.2.1"; +static volatile char LINK_RAW_CABLE_VERSION[] = "LinkRawCable/v6.2.2"; class LinkRawCable { public: diff --git a/lib/LinkRawWireless.hpp b/lib/LinkRawWireless.hpp index c491b8f..3e72d5f 100644 --- a/lib/LinkRawWireless.hpp +++ b/lib/LinkRawWireless.hpp @@ -66,7 +66,7 @@ #define LINK_RAW_WIRELESS_COMMAND_WAIT 0x27 #define LINK_RAW_WIRELESS_COMMAND_BYE 0x3d -static volatile char LINK_RAW_WIRELESS_VERSION[] = "LinkRawWireless/v6.2.1"; +static volatile char LINK_RAW_WIRELESS_VERSION[] = "LinkRawWireless/v6.2.2"; const u16 LINK_RAW_WIRELESS_LOGIN_PARTS[] = { 0x494e, 0x494e, 0x544e, 0x544e, 0x4e45, 0x4e45, 0x4f44, 0x4f44, 0x8001}; diff --git a/lib/LinkSPI.hpp b/lib/LinkSPI.hpp index b2610d0..bdb0bf5 100644 --- a/lib/LinkSPI.hpp +++ b/lib/LinkSPI.hpp @@ -76,7 +76,7 @@ #define LINK_SPI_BIT_GENERAL_PURPOSE_LOW 14 #define LINK_SPI_BIT_GENERAL_PURPOSE_HIGH 15 -static volatile char LINK_SPI_VERSION[] = "LinkSPI/v6.2.1"; +static volatile char LINK_SPI_VERSION[] = "LinkSPI/v6.2.2"; const u32 LINK_SPI_MASK_CLEAR_SO_BIT = ~(1 << LINK_SPI_BIT_SO); const u32 LINK_SPI_MASK_SET_START_BIT = (1 << LINK_SPI_BIT_START); diff --git a/lib/LinkUniversal.hpp b/lib/LinkUniversal.hpp index 3e96d28..6368fe1 100644 --- a/lib/LinkUniversal.hpp +++ b/lib/LinkUniversal.hpp @@ -67,7 +67,7 @@ #define LINK_UNIVERSAL_SERVE_WAIT_FRAMES 60 #define LINK_UNIVERSAL_SERVE_WAIT_FRAMES_RANDOM 30 -static volatile char LINK_UNIVERSAL_VERSION[] = "LinkUniversal/v6.2.1"; +static volatile char LINK_UNIVERSAL_VERSION[] = "LinkUniversal/v6.2.2"; void LINK_UNIVERSAL_ISR_VBLANK(); void LINK_UNIVERSAL_ISR_SERIAL(); diff --git a/lib/LinkWireless.hpp b/lib/LinkWireless.hpp index fab4f02..b39a20f 100644 --- a/lib/LinkWireless.hpp +++ b/lib/LinkWireless.hpp @@ -139,7 +139,7 @@ if (!reset()) \ return false; -static volatile char LINK_WIRELESS_VERSION[] = "LinkWireless/v6.2.1"; +static volatile char LINK_WIRELESS_VERSION[] = "LinkWireless/v6.2.2"; void LINK_WIRELESS_ISR_VBLANK(); void LINK_WIRELESS_ISR_SERIAL(); diff --git a/lib/LinkWirelessMultiboot.hpp b/lib/LinkWirelessMultiboot.hpp index f35be64..af108fa 100644 --- a/lib/LinkWirelessMultiboot.hpp +++ b/lib/LinkWirelessMultiboot.hpp @@ -73,7 +73,7 @@ const u8 LINK_WIRELESS_MULTIBOOT_ROM_HEADER_PATCH_OFFSET = 4; const u8 LINK_WIRELESS_MULTIBOOT_ROM_HEADER_PATCH_SIZE = 12; static volatile char LINK_WIRELESS_MULTIBOOT_VERSION[] = - "LinkWirelessMultiboot/v6.2.1"; + "LinkWirelessMultiboot/v6.2.2"; class LinkWirelessMultiboot { public: diff --git a/lib/LinkWirelessOpenSDK.hpp b/lib/LinkWirelessOpenSDK.hpp index 706c9bc..815df02 100644 --- a/lib/LinkWirelessOpenSDK.hpp +++ b/lib/LinkWirelessOpenSDK.hpp @@ -34,7 +34,7 @@ LINK_WIRELESS_OPEN_SDK_HEADER_SIZE_CLIENT) static volatile char LINK_WIRELESS_OPEN_SDK_VERSION[] = - "LinkWirelessOpenSDK/v6.2.1"; + "LinkWirelessOpenSDK/v6.2.2"; class LinkWirelessOpenSDK { public: