You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
The text was updated successfully, but these errors were encountered:
mshingai
pushed a commit
to mshingai/ardupilot-esp32
that referenced
this issue
Sep 12, 2022
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;
The text was updated successfully, but these errors were encountered: