Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix testing phrase CRC calculation #341

Merged
merged 2 commits into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flight_computer/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ check_src_filters =
build_unflags=-fno-rtti

build_flags =
-D FIRMWARE_VERSION='"3.0.0-RC2"'
-D FIRMWARE_VERSION='"3.0.0"'
-D ARM_MATH_CM4
-D ARM_MATH_MATRIX_CHECK
-D ARM_MATH_ROUNDING
Expand Down
2 changes: 1 addition & 1 deletion ground_station/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ lib_deps =

build_flags =
-DCFG_TUSB_CONFIG_FILE='"sdkconfig.h"' ; Use default TinyUSB configuration
-DFIRMWARE_VERSION='"1.0.0"' ; Enter Firmware Version here
-DFIRMWARE_VERSION='"1.0.1"' ; Enter Firmware Version here
-DUSB_MANUFACTURER='"CATS"' ; USB Manufacturer string
-DUSB_PRODUCT='"CATS Groundstation"' ; USB Product String
-D USB_SERIAL="0" ; Enter Device Serial Number here
Expand Down
2 changes: 1 addition & 1 deletion ground_station/src/telemetry/telemetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void Telemetry::initLink() {
}

if (testingPhrase[0] != 0) {
testingCrc = crc32(testingPhrase, strlen((const char*)linkPhrase));
testingCrc = crc32(testingPhrase, strlen((const char*)testingPhrase));
}
}

Expand Down