timer: modify class to have one common constructor

This commit is contained in:
Vasily Davydov
2022-10-27 09:55:50 +03:00
parent 8f54fe85aa
commit 9492081fbb
4 changed files with 15 additions and 17 deletions

View File

@@ -33,9 +33,8 @@ public:
* @brief Initalize the systick configuration with your frequency
*
*/
Timer (uint32_t freq = 1000);
Timer (uint32_t freq = 1000, bool mode = true);
Timer (bool mode);
virtual ~Timer ();
/**

View File

@@ -13,6 +13,8 @@
#define BROKER_IP "192.168.1.254"
#define BROKER_PORT 1883
#define ONE_K_HZ 1000
enum _global_values
{
LCD_SIZE = 16,