Skip to content

Commit

Permalink
Merge pull request #20 from thijstriemstra/patch-1
Browse files Browse the repository at this point in the history
make _period uint32_t
  • Loading branch information
wizard97 authored Jan 28, 2021
2 parents 4a107b7 + 6f6d5cd commit c52d974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ProcessScheduler/Process.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Process
*
* @return: period or SERVICE_CONSTANTLY
*/
inline unsigned int getPeriod() { return _period; }
inline uint32_t getPeriod() { return _period; }

/*
* Get the priority for this process
Expand Down Expand Up @@ -323,7 +323,7 @@ class Process
Scheduler &_scheduler;
bool _enabled, _force;
int _iterations;
unsigned int _period;
uint32_t _period;
uint8_t _sid;
uint32_t _scheduledTS, _actualTS;
// Linked List
Expand Down

0 comments on commit c52d974

Please sign in to comment.