File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ bool FPS_GT511C3::ChangeBaudRate(unsigned long baud)
416416
417417 if (UseSerialDebug) Serial.println (" FPS - ChangeBaudRate" );
418418 Command_Packet* cp = new Command_Packet ();
419- cp->Command = Command_Packet::Commands::Open ;
419+ cp->Command = Command_Packet::Commands::ChangeBaudRate ;
420420 cp->ParameterFromInt (baud);
421421 byte* packetbytes = cp->GetPacketBytes ();
422422 delete cp;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Command_Packet
2929 Open = 0x01 , // Open Initialization
3030 Close = 0x02 , // Close Termination
3131 UsbInternalCheck = 0x03 , // UsbInternalCheck Check if the connected USB device is valid
32- ChangeEBaudRate = 0x04 , // ChangeBaudrate Change UART baud rate
32+ ChangeBaudRate = 0x04 , // ChangeBaudrate Change UART baud rate
3333 SetIAPMode = 0x05 , // SetIAPMode Enter IAP Mode In this mode, FW Upgrade is available
3434 CmosLed = 0x12 , // CmosLed Control CMOS LED
3535 GetEnrollCount = 0x20 , // Get enrolled fingerprint count
You can’t perform that action at this time.
0 commit comments