Skip to content

Commit

Permalink
chore: infra update
Browse files Browse the repository at this point in the history
  • Loading branch information
xxthunder committed Jan 15, 2025
1 parent e231444 commit b7ae4b4
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 85 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include(FetchContent)
FetchContent_Declare(
spl-core
GIT_REPOSITORY https://github.com/avengineers/spl-core.git
GIT_TAG v6.2.0
GIT_TAG v6.3.1
)
FetchContent_MakeAvailable(spl-core)

Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ verify_ssl = true
name = "pypi"

[packages]
spl-core = ">=6.2.0"
spl-core = "==6.3.1"
pytest = ">=8.3"
pytest-env = ">=1.1.5"
pipenv = ">=2024.0.3"
Expand Down
164 changes: 84 additions & 80 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion doc/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -2356,7 +2356,7 @@ INCLUDE_FILE_PATTERNS =
# recursively expanded use the := operator instead of the = operator.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.

PREDEFINED = "static_scope_file=static"
PREDEFINED = "SPLE_TESTABLE_STATIC=static"

# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The
Expand Down
4 changes: 2 additions & 2 deletions src/light_controller/src/light_controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static void turnLightOn(void) {
* :implements: SWDD_LC-002
* @endrst
*/
static_scope_file unsigned int calculateBlinkPeriod(percentage_t mainKnobValue) {
SPLE_TESTABLE_STATIC unsigned int calculateBlinkPeriod(percentage_t mainKnobValue) {
// Calculate blink period based on main knob value
unsigned int blinkPeriod = 100 - (mainKnobValue); // Adjust this formula as needed

Expand All @@ -109,7 +109,7 @@ static_scope_file unsigned int calculateBlinkPeriod(percentage_t mainKnobValue)
* :id: SWIMPL_LC-006
* :implements: SWDD_LC-001
* @endrst
*
*
* @brief Controls the light state.
*
* Uses a state machine to determine the light state based on several inputs,
Expand Down

0 comments on commit b7ae4b4

Please sign in to comment.