View unanswered posts | View active topics It is currently Wed Jul 18, 2018 9:15 pm

Reply to topic  [ 1 post ] 
How To Do Custom Init Without Affecting The Main Code Base 
Author Message
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15160
Location: Home sweet home!
                PAInitialized = 1;

One of these things is a variable, the other is a custom init function. The first time the ISR fires, the init flag is zero and as such the init routine runs, and sets the flag. Subsequent times the init doesn't run!

So, if experimenting with a new setup before I get around to implementing the decoder init interface aspect, do this hack, it's clever, and works well, and is all SeanK's idea! Great work, Sean :-)


_________________ - where Open Source means Open Source, and Free means Freedom - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!

Thu Mar 24, 2011 11:03 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.