Add virtual timer
This commit is contained in:
25
src/delay.h
Normal file
25
src/delay.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#ifndef __DELAY_H__
|
||||
#define __DELAY_H__
|
||||
|
||||
#include "virtual_timer/VirtualTimer.h"
|
||||
|
||||
namespace pinetime
|
||||
{
|
||||
|
||||
class Delay
|
||||
: public pinetime::virtual_timer::VirtualTimer
|
||||
{
|
||||
|
||||
public:
|
||||
Delay();
|
||||
void ms(uint64_t);
|
||||
|
||||
void notification();
|
||||
|
||||
private:
|
||||
bool pause;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user