Nýjir kóðar og uppfærðir gamlir kóðar fyrir arduino yfir í zephyr
This commit is contained in:
@@ -1,15 +1,22 @@
|
||||
#ifndef INITIALIZATION_STATE_H
|
||||
#define INITIALIZATION_STATE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "state.h"
|
||||
|
||||
|
||||
class InitializationState : public State
|
||||
{
|
||||
private:
|
||||
static const unsigned long WAIT_MS = 2000;
|
||||
// static const unsigned long WAIT_MS = 2000;
|
||||
|
||||
// unsigned long enter_time_ms = 0;
|
||||
|
||||
|
||||
static constexpr int64_t WAIT_MS = 2000;
|
||||
int64_t enter_time_ms = 0;
|
||||
|
||||
unsigned long enter_time_ms = 0;
|
||||
|
||||
public:
|
||||
void enter() override;
|
||||
|
||||
Reference in New Issue
Block a user