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)
416
416
417
417
if (UseSerialDebug) Serial.println (" FPS - ChangeBaudRate" );
418
418
Command_Packet* cp = new Command_Packet ();
419
- cp->Command = Command_Packet::Commands::Open ;
419
+ cp->Command = Command_Packet::Commands::ChangeBaudRate ;
420
420
cp->ParameterFromInt (baud);
421
421
byte* packetbytes = cp->GetPacketBytes ();
422
422
delete cp;
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Command_Packet
29
29
Open = 0x01 , // Open Initialization
30
30
Close = 0x02 , // Close Termination
31
31
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
33
33
SetIAPMode = 0x05 , // SetIAPMode Enter IAP Mode In this mode, FW Upgrade is available
34
34
CmosLed = 0x12 , // CmosLed Control CMOS LED
35
35
GetEnrollCount = 0x20 , // Get enrolled fingerprint count
You can’t perform that action at this time.
0 commit comments