This commit is contained in:
parent
9a451e3d5f
commit
16dbba6545
@ -922,11 +922,10 @@ AutoThreshold::AutoThreshold() : ArcsecJsonParamBase(arcseckeys::AUTO_THRESHOLD)
|
|||||||
size_t AutoThreshold::getSize() { return COMMAND_SIZE; }
|
size_t AutoThreshold::getSize() { return COMMAND_SIZE; }
|
||||||
|
|
||||||
ReturnValue_t AutoThreshold::createCommand(uint8_t* buffer) {
|
ReturnValue_t AutoThreshold::createCommand(uint8_t* buffer) {
|
||||||
sif::debug << "creating auto threshold command" << std::endl;
|
|
||||||
ReturnValue_t result = returnvalue::OK;
|
ReturnValue_t result = returnvalue::OK;
|
||||||
uint8_t offset = 0;
|
uint8_t offset = 0;
|
||||||
std::string param;
|
std::string param;
|
||||||
addSetParamHeader(buffer, startracker::ID::LOG_SUBSCRIPTION);
|
addSetParamHeader(buffer, startracker::ID::AUTO_THRESHOLD);
|
||||||
offset = 2;
|
offset = 2;
|
||||||
result = getParam(arcseckeys::AT_MODE, param);
|
result = getParam(arcseckeys::AT_MODE, param);
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user