Issue #28: Improve script handling
This commit is contained in:
parent
e815442617
commit
a25b249d77
@ -733,6 +733,7 @@ shellmatta_retCode_t shell_cmd_execute(const shellmatta_handle_t handle, const c
|
||||
|
||||
if (dlen > 0 && *data == '\x03') {
|
||||
temp_profile_executer_stop();
|
||||
running = false;
|
||||
return SHELLMATTA_OK;
|
||||
}
|
||||
}
|
||||
|
@ -121,9 +121,9 @@ static bool cmd_set_temp(struct pl_command *cmd, bool cmd_continue)
|
||||
|
||||
static bool cmd_ramp(struct pl_command *cmd, bool cmd_continue)
|
||||
{
|
||||
static uint64_t start_timestamp;
|
||||
static float start_temp;
|
||||
static float slope;
|
||||
static uint64_t IN_SECTION(.ccm.bss) start_timestamp;
|
||||
static float IN_SECTION(.ccm.bss) start_temp;
|
||||
static float IN_SECTION(.ccm.bss) slope;
|
||||
float secs_passed;
|
||||
bool ret = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user