BLDFUSettingsStructV2 constructor

BLDFUSettingsStructV2(
  1. int settingsAddress
)

Implementation

BLDFUSettingsStructV2(int settingsAddress):super(settingsAddress,false){
  logger?.verbose('Setting bl dfu Setting V2');
  bootValidationCrc = settingsAddress + 0x25C;
  sdValidationType   = settingsAddress + 0x260;
  sdValidationBytes  = settingsAddress + 0x261;
  appValidationType  = settingsAddress + 0x2A1;
  appValidationBytes = settingsAddress + 0x2A2;
  lastAddress            = settingsAddress + 0x322;
  bytesCount = 803;
}