Maximum number of tasks in sequencer not triggering an error
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Setup:
- LoRa-E5-STM32WLE5JC
- GNU Arm Embedded Toolchain 10.3-2021.10
Bug:
Preprocessor error is not triggered if the CFG_SEQ_Task_NBR is > 32 although there is a code to protect it
#if UTIL_SEQ_CONF_TASK_NBR > 32
#error "UTIL_SEQ_CONF_PRIO_NBR must be less of equal then 32"
#endif
It happens because the #define UTIL_SEQ_CONF_TASK_NBR CFG_SEQ_Task_NBR is evaluated by preprocessor to zero. It doesn't know the value of CFG_SEQ_Task_NBR at this stage. Try to add -Wundef flag and see the compiler output
Next when there is a preprocessor macro #if UTIL_SEQ_CONF_TASK_NBR > 32 we copmare 0 > 32
Also there is a typo in the error message: UTIL_SEQ_CONF_TASK_NBR must be less of equal then 32
- Ngôn ngữ chính
- C
- Star
- 167
- Fork
- 83
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của STMicroelectronics/STM32CubeWL
-
[Bug]: high-power mode broken in v1.5.0 releaseCó thể làm lại được @MKISTM đã nhận 210 ngày trước và không có pull request nào đang mở. Đang mởbug internal bug tracker lorawan projects wireless
STMicroelectronics/STM32CubeWL#107 · 2 bình luận · 1 người được giao ·
-
Sigfox_AT_Slave: Incorrect Downlink Payload Length Printed (Extra 8 Bytes Appended)Có thể làm lại được @KRASTM đã nhận 230 ngày trước và không có pull request nào đang mở. Đang mởbug internal bug tracker projects sigfox wireless
STMicroelectronics/STM32CubeWL#105 · 2 bình luận · 1 người được giao ·
-
Deep sleep is never achieved with SUBGRF_SetRxDutyCycleCó thể làm lại được @MKISTM đã nhận 349 ngày trước và không có pull request nào đang mở. Đang mởbug hal internal bug tracker needs clarification subghz wireless
STMicroelectronics/STM32CubeWL#99 · 9 bình luận · 1 người được giao ·
-
Fragdecoder not working as expected sometimes.Có thể làm lại được @KRASTM đã nhận 205 ngày trước và không có pull request nào đang mở. Đang mởbug internal bug tracker lorawan mw wireless
STMicroelectronics/STM32CubeWL#75 · 2 bình luận · 1 người được giao ·
-
`SUBGRF_SetRfTxPower` interprets `power` argument incorrectly.Có thể làm lại được @KRASTM đã nhận 156 ngày trước và không có pull request nào đang mở. Đang mởbug internal bug tracker mw subghz wireless
STMicroelectronics/STM32CubeWL#64 · 3 bình luận · 1 người được giao ·
Tất cả issue của STMicroelectronics/STM32CubeWL
Issue tương tự
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
linux-test-project/ltp#1343 · 1 bình luận ·
-
test_audio_host: out-of-bounds read in test_audio_host_uses_exponential_full_speed_iso_intervalĐang mởfollowup Prio 📌
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
micropython/micropython#19798 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100