Skip to content

Commit

Permalink
use constexpr for undefined sensor_buff_size
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Jul 2, 2024
1 parent b3dba44 commit 3b15ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/common/core/sensor_buffer.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#ifndef SENSOR_BUFF_SIZE
#define SENSOR_BUFF_SIZE 1
constexpr size_t SENSOR_BUFF_SIZE = 1;
#endif
constexpr size_t SENSOR_BUFFER_SIZE = SENSOR_BUFF_SIZE;

0 comments on commit 3b15ae0

Please sign in to comment.