From bb90c260b1f44e93cf0a69298e5c8d5c30d0ec90 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Wed, 25 Apr 2012 12:19:37 +0200 Subject: [PATCH] add build_version to config struct --- ykpers.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ykpers.c b/ykpers.c index 3ec58c9..92beb0c 100644 --- a/ykpers.c +++ b/ykpers.c @@ -45,6 +45,7 @@ struct ykp_config_t { unsigned int yk_major_version; unsigned int yk_minor_version; + unsigned int yk_build_version; unsigned int command; YK_CONFIG ykcore_config; @@ -85,6 +86,7 @@ YKP_CONFIG *ykp_create_config(void) sizeof(default_config1)); cfg->yk_major_version = 1; cfg->yk_minor_version = 3; + cfg->yk_build_version = 0; cfg->command = SLOT_CONFIG; return cfg; } @@ -114,6 +116,7 @@ void ykp_configure_version(YKP_CONFIG *cfg, YK_STATUS *st) { cfg->yk_major_version = st->versionMajor; cfg->yk_minor_version = st->versionMinor; + cfg->yk_build_version = st->versionBuild; } int ykp_configure_command(YKP_CONFIG *cfg, uint8_t command) -- 2.39.5