Skip to content

Commit

Permalink
Version update
Browse files Browse the repository at this point in the history
  • Loading branch information
LouDnl committed Oct 17, 2024
1 parent 6bc20a8 commit 6a85e76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ cmake_minimum_required(VERSION 3.17)

### Project
set(PROJECT_NAME usbsidpico)
set(PROJECT_VERSION "0.2.0-BETA.20241016") # Must be the same as in config.h
set(MAGIC_SMOKE "20241016") # DATEOFRELEASE
set(PROJECT_VERSION "0.2.0-BETA.20241017") # Must be the same as in config.h
set(MAGIC_SMOKE "20241017") # DATEOFRELEASE

### Optimization and debugging
SET(DEBUG_SYMBOLS 0)
Expand Down
1 change: 0 additions & 1 deletion src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ void load_config(Config* config)
__builtin_memcpy(config, (void *)(XIP_BASE + FLASH_TARGET_OFFSET), sizeof(Config));
stdio_flush();
if (config->magic != MAGIC_SMOKE) {

default_config(config);
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
/* Config constants */
#define FLASH_TARGET_OFFSET (PICO_FLASH_SIZE_BYTES - FLASH_SECTOR_SIZE)
#define CONFIG_SIZE (FLASH_SECTOR_SIZE / 4) /* 1024 Bytes */
#define PROJECT_VERSION "0.2.0-BETA.20241016"
#define PROJECT_VERSION "0.2.0-BETA.20241017"
/* Compile time variable settings */
#ifndef MAGIC_SMOKE
#define MAGIC_SMOKE 19700101 /* DATEOFRELEASE */
Expand Down

0 comments on commit 6a85e76

Please sign in to comment.