Skip to content

Commit

Permalink
Final Release 3.1.3
Browse files Browse the repository at this point in the history
- update dependencies
- update revision
  • Loading branch information
Waldemar Porscha committed Jan 25, 2024
1 parent ab0938a commit 9ff8368
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
Binary file modified dependencies.txt
Binary file not shown.
8 changes: 2 additions & 6 deletions include/versions.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#pragma once

#define MAIN_Version "b7f9289"
#define MAIN_Version "ab0938a"
#define KNX_Version "c6368db"
#define MODULE_LogicModule_Version "3.1.0+17f411c"
#define MODULE_LogicModule_Version "3.1.3+2c61453"
#define MODULE_LogicModule_ETS 49
#define MODULE_Common_Version "1.1.0+705127c"
#define MODULE_Common_ETS 17
#define MODULE_FileTransferModule_Version "0.0.4+9ce355a"
#define MODULE_FileTransferModule_ETS 0
#define MODULE_UsbExchange_Version "0.0.1+4a4ecaf"
#define MODULE_UsbExchange_ETS 0
22 changes: 17 additions & 5 deletions restore/Restore-Dependencies.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ param(
# Check for privileges (Windows only)
[switch]$CheckForDeveloperMode= $true, # Default is $true
[switch]$CheckForSymbolicLinkPermissions= $true, # Default is $true
[switch]$CheckForAdminOnly= $false # Default is $false
[switch]$CheckForAdminOnly= $false, # Default is $false

# Set the Write-Host message behavior
[switch]$Verbose= $false, # Default is $false
[switch]$DebugMsg= $false # Default is $false
)

# Global Variables
Expand All @@ -63,9 +67,7 @@ $Auto_Use_mklink_To_Create_SymLinks = $false # Default is $false
# Ignore the permissions to create symbolic links with 'New-Item' and use mklink to create symbolic links.
$Force_Use_mklink_To_Create_SymLinks = $true # Default is $true. If $Auto_Use_mklink_To_Create_SymLinks is $true, this variable is ignored.

# Set the Write-Host message behavior
[switch]$Verbose= $false # Default is $false
[switch]$DebugMsg= $false # Default is $false


function Test-Administrator {
return (([Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole('Administrators')).If($true, $false)
Expand Down Expand Up @@ -239,7 +241,17 @@ function ProcessDependencies($DependenciesFile) {
# Extract the project name from the URL
$urlParts = $url -split '/'
$projectNameWithExtension = $urlParts[-1]
$projectName = $projectNameWithExtension -split '\.' | Select-Object -First 1
# Assuming the project name is the same as the repository name, and considering the possibility of a .git extension to fix a 'dot' in the project name.
# Get the index of the last dot in the string (.git)
$lastDotPosition = $projectNameWithExtension.LastIndexOf('.')
# Check if a dot was found
if ($lastDotPosition -ge 0) {
# Extract the substring without the last dot
$projectName = $projectNameWithExtension.Substring(0, $lastDotPosition)
} else {
# No dot found, use the entire string as the project name!
$projectName = $projectNameWithExtension
}
# Create a custom object for the project
[PSCustomObject]@{
"Hash" = $hash
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
void setup()
{
// change this also in library.json
const uint8_t firmwareRevision = 2;
const uint8_t firmwareRevision = 3;
openknx.init(firmwareRevision);
openknx.addModule(1, openknxLogic);
#ifdef ARDUINO_ARCH_RP2040
Expand Down

0 comments on commit 9ff8368

Please sign in to comment.