Jump to content
pvhoof

Timer2 Enable Wizard Bug

Recommended Posts

Bug description:

Timer2 does not get enabled when setting it up with the wizard

 

Steps to reproduce:

 

create a new project with the wizard

-pick pic16f877 as target

-select enable for timer2

-the generated code will contain

//Set timer 2 mode (enable or disable)
clear_bit( t2con, TMR2ON ); //enable timer 2

 

Expected behaviour:

This should generate

//Set timer 2 mode (enable or disable)
set_bit( t2con, TMR2ON ); //enable timer 2

 

IDE version: 6.84

Compiler: BoostC

Target device: PIC16f877

 

 

Peter van Hoof

Edited by pvhoof

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...