refactor: use standard integer types; remove <algorithm> dependency
- Replaced unsigned char, int and long long with uint8_t int32_t and int64_t for platform independence - Removed <algorithm> dependency, implemented custom alternatives
This commit is contained in:
+6
-2
@@ -5,10 +5,10 @@
|
||||
#ifndef CX9261ADRIVER_DEFS_H
|
||||
#define CX9261ADRIVER_DEFS_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <bitset>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef interface
|
||||
# undef interface
|
||||
@@ -119,9 +119,13 @@ enum class CalibMethod : std::uint8_t { TST = 0, Bisec, MultiPoints, Tracking };
|
||||
*/
|
||||
enum class DCCalibMethod : std::uint8_t { Tracking = 0, HighPass };
|
||||
/**
|
||||
* @brief AFC等待延时,单位ms
|
||||
* @brief 等待延时,单位ms
|
||||
*/
|
||||
constexpr double delay = 100;
|
||||
/**
|
||||
* @brief AFC等待延时,单位ms
|
||||
*/
|
||||
constexpr double afcDelay = 25e-3; // 25us
|
||||
/**
|
||||
* @brief QEC等待延时,单位ms
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user