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

GCS_FTP fails @ line 570 for ESP32buzz #21695

Closed
Nic-Gould opened this issue Sep 11, 2022 · 0 comments
Closed

GCS_FTP fails @ line 570 for ESP32buzz #21695

Nic-Gould opened this issue Sep 11, 2022 · 0 comments

Comments

@Nic-Gould
Copy link

Bug report

Issue details
AP_Filesystem defines DT_LNK ONLY for Chibi OS, but GCS_FTP looks for it on line 570 regardless of boardtype. Copying the #defines into AP_Filesystem_ESP32 or GCS_FTP fixes the problem.

Version
Master

Platform
[ ] Copter

Airframe type
Quad

Hardware type
Building on linux desktop, target esp32buzz

Logs
../../libraries/GCS_MAVLink/GCS_FTP.cpp: In static member function 'static int GCS_MAVLINK::gen_dir_entry(char*, size_t, const char*, const dirent*)':
../../libraries/GCS_MAVLink/GCS_FTP.cpp:570:70: error: 'DT_LNK' was not declared in this scope
const bool is_file = entry->d_type == DT_REG || entry->d_type == DT_LNK;

mshingai pushed a commit to mshingai/ardupilot-esp32 that referenced this issue Sep 12, 2022
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

No branches or pull requests

2 participants