-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unconditionally allocate sensor_buff_size
- Loading branch information
1 parent
a7e431d
commit 4d684f7
Showing
3 changed files
with
7 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#pragma once | ||
|
||
#ifdef USE_SENSOR_MOVE | ||
constexpr size_t SENSOR_BUFFER_SIZE = SENSOR_BUFF_SIZE; | ||
#else | ||
constexpr size_t SENSOR_BUFFER_SIZE = 0; | ||
#endif | ||
constexpr size_t SENSOR_BUFFER_SIZE = SENSOR_BUFF_SIZE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters