Skip to content

Commit

Permalink
Switch to unsigned integers
Browse files Browse the repository at this point in the history
  • Loading branch information
BIOS9 committed Sep 15, 2021
1 parent e79a323 commit 7d7d997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PrometheusExporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void PrometheusExporter::init() {
Serial.println("Exporter running.");
}

void PrometheusExporter::setImpulses(int impulses) {
void PrometheusExporter::setImpulses(unsigned int impulses) {
this->impulses = impulses;
}

Expand Down
2 changes: 1 addition & 1 deletion PrometheusExporter.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class PrometheusExporter {
public:
void init();
void process();
void setImpulses(int impulses);
void setImpulses(unsigned int impulses);
private:
String header;
int impulses = 0;
Expand Down

0 comments on commit 7d7d997

Please sign in to comment.