Banish all the ambiguity that has arisen from unicode characters in datasheets
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user