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 implicit declaration warning #2093

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

yh-sb
Copy link
Contributor

@yh-sb yh-sb commented Nov 24, 2024

Fix the following implicit declaration warnings:

[1/4] Building C object CMakeFiles/rp2040.dir/third_party/pico-sdk/src/rp2_common/pico_flash/flash.c.obj
D:/dev/cpp/mcu-cpp/third_party/pico-sdk/src/rp2_common/pico_flash/flash.c: In function 'default_enter_safe_zone_timeout_ms':
D:/dev/cpp/mcu-cpp/third_party/pico-sdk/src/rp2_common/pico_flash/flash.c:155:33: warning: implicit declaration of function 'make_timeout_time_ms' [-Wimplicit-function-declaration]
  155 |         absolute_time_t until = make_timeout_time_ms(timeout_ms);
      |                                 ^~~~~~~~~~~~~~~~~~~~
D:/dev/cpp/mcu-cpp/third_party/pico-sdk/src/rp2_common/pico_flash/flash.c:156:77: warning: implicit declaration of function 'time_reached' [-Wimplicit-function-declaration]
  156 |         while (lockout_state[core_num] != FREERTOS_LOCKOUT_LOCKEE_READY && !time_reached(until)) {
      |                                                                             ^~~~~~~~~~~~

pico-sdk/src/rp2_common/pico_flash/flash.c:155:33: warning: implicit declaration of function 'make_timeout_time_ms'
pico-sdk/src/rp2_common/pico_flash/flash.c:156:77: warning: implicit declaration of function 'time_reached'
@kilograham kilograham modified the milestones: 2.1.1, 2.1.0 Nov 25, 2024
@kilograham kilograham merged commit 58e253c into raspberrypi:develop Nov 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants