Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
f40afac4
Commit
f40afac4
authored
8 years ago
by
Beat Küng
Committed by
Lorenz Meier
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
logger: fix 'Undefined symbols for architecture x86_64' on clang for _min_write_chunk
parent
dae12f12
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/modules/logger/log_writer.cpp
+2
-0
2 additions, 0 deletions
src/modules/logger/log_writer.cpp
src/modules/logger/log_writer.h
+1
-1
1 addition, 1 deletion
src/modules/logger/log_writer.h
with
3 additions
and
1 deletion
src/modules/logger/log_writer.cpp
+
2
−
0
View file @
f40afac4
...
...
@@ -8,6 +8,8 @@ namespace px4
{
namespace
logger
{
constexpr
size_t
LogWriter
::
_min_write_chunk
;
LogWriter
::
LogWriter
(
size_t
buffer_size
)
:
_buffer_size
(
math
::
max
(
buffer_size
,
_min_write_chunk
))
...
...
This diff is collapsed.
Click to expand it.
src/modules/logger/log_writer.h
+
1
−
1
View file @
f40afac4
...
...
@@ -63,7 +63,7 @@ private:
}
/* 512 didn't seem to work properly, 4096 should match the FAT cluster size */
static
const
size_t
_min_write_chunk
=
4096
;
static
const
expr
size_t
_min_write_chunk
=
4096
;
char
_filename
[
64
];
int
_fd
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment