Skip to content

Commit

Permalink
linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MalteSchm committed Mar 29, 2023
1 parent b3c17c8 commit ece1319
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/Huawei_can.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ class HuaweiCanClass {
void setPower(bool power);

RectifierParameters_t * get();
unsigned long getLastUpdate();
uint32_t getLastUpdate();

private:
void sendRequest();
void onReceive(uint8_t* frame, uint8_t len);

unsigned long previousMillis;
unsigned long lastUpdate;
uint32_t previousMillis;
uint32_t lastUpdate;
RectifierParameters_t _rp;

SPIClass *spi;
Expand Down
4 changes: 2 additions & 2 deletions src/Huawei_can.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RectifierParameters_t * HuaweiCanClass::get()
return &_rp;
}

unsigned long HuaweiCanClass::getLastUpdate()
uint32_t HuaweiCanClass::getLastUpdate()
{
return lastUpdate;
}
Expand Down Expand Up @@ -142,7 +142,7 @@ void HuaweiCanClass::onReceive(uint8_t* frame, uint8_t len)
void HuaweiCanClass::loop()
{

long unsigned int rxId;
INT32U rxId;
unsigned char len = 0;
unsigned char rxBuf[8];

Expand Down

0 comments on commit ece1319

Please sign in to comment.