Share

WinAVR

Tracker: Bugs

5 power.h: power_timer2_disable() for at90usb82\162 - ID: 2883111
Last Update: Attachment added ( )

Is mistake in file avr\include\avr\power.h on line 1137:

#define power_timer1_enable() (PRR0 &= (uint8_t)~(1 << PRTIM1))
#define power_timer2_disable() (PRR0 |= (uint8_t)(1 << PRTIM1))

Right write 1 instead of 2:
#define power_timer1_enable() (PRR0 &= (uint8_t)~(1 << PRTIM1))
#define power_timer1_disable() (PRR0 |= (uint8_t)(1 << PRTIM1))


Timur Gilfanov ( ) - 2009-10-21 09:18

5

Open

None

Nobody/Anonymous

None

None

Public


Comments

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
power.h Download

Change ( 1 )

Field Old Value Date By
File Added 347545: power.h 2009-10-21 09:18