Changeset 409 for ISPProgrammer/Dallas/UDallasProgrammer.pas
- Timestamp:
- Aug 14, 2012, 11:55:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ISPProgrammer/Dallas/UDallasProgrammer.pas
r406 r409 41 41 Timeout: TDateTime; 42 42 Identification: string; 43 BaudRate: TBaudRate;43 BaudRate: Integer; 44 44 procedure LoadFromRegistry(Root: HKEY; Key: string); override; 45 45 procedure SaveToRegistry(Root: HKEY; Key: string); override; … … 187 187 RootKey := Root; 188 188 OpenKey(Key + '\ISPProgrammer\Dallas', True); 189 BaudRate := TBaudRate(ReadIntegerWithDefault('FirmwareBaudRate', Integer(br57600)));189 BaudRate := ReadIntegerWithDefault('FirmwareBaudRate', 57600); 190 190 finally 191 191 Free; … … 414 414 Pin := TCommPin.Create; 415 415 Pin.OnReceive := ReceiveData; 416 BaudRate := br9600;416 BaudRate := 9600; 417 417 SerialPortBackup := TCommSerialPort.Create; 418 418 end;
Note:
See TracChangeset
for help on using the changeset viewer.