Jump to reset vector when program exceeds specified watchdog timeout
This commit is contained in:
@@ -12,8 +12,9 @@
|
||||
#define TW_MR_SLA_NACK 0x48
|
||||
#define TW_MR_DATA_ACK 0x50
|
||||
|
||||
// XXX: Handle interrupts in I2C_vect ISR? This may not
|
||||
// actually be much better than the blocking approach
|
||||
// XXX: Error handling and recovery without watchdog timer.
|
||||
// XXX: Implement I2C_vect ISR? This may not actually be
|
||||
// much better than the blocking approach.
|
||||
|
||||
static void I2C_AHT20_Reset(void);
|
||||
static bool I2C_AHT20_IsCalibrated(void);
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#include "common.h"
|
||||
#include "bus/mosfet.h"
|
||||
|
||||
// XXX: This might be too much specificity for something where
|
||||
// a generic digital output implementation would be adequate.
|
||||
|
||||
int MOS_Init(void)
|
||||
{
|
||||
// PB0: MOSFET #1 Peltier
|
||||
|
||||
Reference in New Issue
Block a user