Udated configuration and light sensor
This commit is contained in:
parent
1dfaf781d2
commit
795893ea2e
8 changed files with 23 additions and 20 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#include "Interrupt.h"
|
||||
#include <Arduino.h>
|
||||
#include <avr/power.h>
|
||||
#include <avr/sleep.h>
|
||||
#include <avr/wdt.h>
|
||||
|
|
@ -107,7 +106,7 @@ ISR(WDT_vect)
|
|||
Interrupt::handleWatchDogInterrupt();
|
||||
}
|
||||
|
||||
void Interrupt::setupWatchDogInterrupt(uint16_t milliseconds)
|
||||
void Interrupt::setupWatchDogInterrupt(int32_t milliseconds)
|
||||
{
|
||||
wdtTimeLeft = wdtTime = milliseconds;
|
||||
setupWatchDogInterrupt();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue