rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
persistent_configuration.h
Go to the documentation of this file.
1/*
2 * @file persistent_configuration.h
3 *
4 * @date Feb 27, 2020
5 * @author Andrey Belomutskiy, (c) 2012-2020
6 */
7
8#pragma once
9
11
12#include "rusefi/crc.h"
13
15 int version{};
16 int size{};
18 uint32_t crc{};
19
20 uint32_t getCrc() {
21 return crc32(&persistentConfiguration, sizeof(persistent_config_s));
22 }
23};