Skip to content

Commit c52d974

Browse files
authored
Merge pull request #20 from thijstriemstra/patch-1
make _period uint32_t
2 parents 4a107b7 + 6f6d5cd commit c52d974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ProcessScheduler/Process.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class Process
6868
*
6969
* @return: period or SERVICE_CONSTANTLY
7070
*/
71-
inline unsigned int getPeriod() { return _period; }
71+
inline uint32_t getPeriod() { return _period; }
7272

7373
/*
7474
* Get the priority for this process
@@ -323,7 +323,7 @@ class Process
323323
Scheduler &_scheduler;
324324
bool _enabled, _force;
325325
int _iterations;
326-
unsigned int _period;
326+
uint32_t _period;
327327
uint8_t _sid;
328328
uint32_t _scheduledTS, _actualTS;
329329
// Linked List

0 commit comments

Comments
 (0)