Compare commits
5 Commits
3320788caf
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 5248fa2562 | |||
| 65cda87e7d | |||
| 3da596f2b6 | |||
| 4e0b6b34a8 | |||
| 43efdfc2f4 |
@@ -5,13 +5,7 @@ All Rights Reserved
|
|||||||
Copyright (c) 2024 Madcow Software
|
Copyright (c) 2024 Madcow Software
|
||||||
Copyright (c) 2024 Carlos Krieg
|
Copyright (c) 2024 Carlos Krieg
|
||||||
|
|
||||||
THE CONTENTS OF THIS PROJECT ARE PROPRIETARY AND CONFIDENTIAL.
|
LICENSE UNDETERMINED FOR NOW
|
||||||
UNAUTHORIZED COPYING, TRANSFERRING OR REPRODUCTION OF THE
|
|
||||||
CONTENTS OF THIS PROJECT, VIA ANY MEDIUM IS STRICTLY PROHIBITED.
|
|
||||||
|
|
||||||
The receipt or possession of the source code and/or any parts
|
|
||||||
thereof does not convey or imply any right to use them for any
|
|
||||||
purpose other than the purpose for which they were provided to you.
|
|
||||||
|
|
||||||
The software is provided "AS IS", without warranty of any kind,
|
The software is provided "AS IS", without warranty of any kind,
|
||||||
express or implied, including but not limited to the warranties of
|
express or implied, including but not limited to the warranties of
|
||||||
|
|||||||
Submodule opt/tools deleted from 16fb890c1e
Submodule opt/webgui deleted from 2e1b57767c
@@ -226,7 +226,7 @@ static void WriteRaw(int addr, byte data)
|
|||||||
// Wait until ready
|
// Wait until ready
|
||||||
while (EECR & BIT(EEPE));
|
while (EECR & BIT(EEPE));
|
||||||
|
|
||||||
// The EEPROM Address Registers – EEARH and
|
// The EEPROM Address Registers - EEARH and
|
||||||
// EEARL specify the EEPROM address in the
|
// EEARL specify the EEPROM address in the
|
||||||
// 512/1K/2K/4Kbytes EEPROM space. The EEPROM
|
// 512/1K/2K/4Kbytes EEPROM space. The EEPROM
|
||||||
// data bytes are addressed linearly between 0
|
// data bytes are addressed linearly between 0
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ bool WDT_HasTriggered(void)
|
|||||||
// which reset source caused an MCU reset.
|
// which reset source caused an MCU reset.
|
||||||
|
|
||||||
// 7 6 5 4 3 2 1 0
|
// 7 6 5 4 3 2 1 0
|
||||||
// - - – JTRF WDRF BORF EXTRF PORF
|
// - - - JTRF WDRF BORF EXTRF PORF
|
||||||
|
|
||||||
// Is watchdog reset flag set?
|
// Is watchdog reset flag set?
|
||||||
isreset = ((MCUSR & BIT(WDRF)) != 0);
|
isreset = ((MCUSR & BIT(WDRF)) != 0);
|
||||||
@@ -128,7 +128,7 @@ void WDT_Disable(void)
|
|||||||
// See macro in watchdog.h
|
// See macro in watchdog.h
|
||||||
void WDT_Reset(void)
|
void WDT_Reset(void)
|
||||||
{
|
{
|
||||||
// The WDR – Watchdog Reset – instruction resets the
|
// The WDR - Watchdog Reset - instruction resets the
|
||||||
// watchdog timer. The Watchdog Timer is also reset
|
// watchdog timer. The Watchdog Timer is also reset
|
||||||
// when it is disabled and when a chip reset occurs.
|
// when it is disabled and when a chip reset occurs.
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ static void Update(void)
|
|||||||
// TODO: PID control for fan pulse-width modulation?
|
// TODO: PID control for fan pulse-width modulation?
|
||||||
|
|
||||||
// The dead band represents the lower and upper limits
|
// The dead band represents the lower and upper limits
|
||||||
// of the error between which the controller doesn’t
|
// of the error between which the controller doesn't
|
||||||
// react.
|
// react.
|
||||||
|
|
||||||
state = S_IDLE;
|
state = S_IDLE;
|
||||||
|
|||||||
Reference in New Issue
Block a user