Project

General

Profile

Enhancement #798

get all the library inti's and functions to behave

Added by Brad Neuman almost 10 years ago. Updated almost 9 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
Library
Start date:
10/21/2009
Due date:
% Done:

30%


Description

multiple init calls should not cause undefined behavior


Related issues

Related to Colony - Bug #562: Fix init functions Duplicate 09/04/2009
Blocked by Colony - Bug #790: XBee/Wireless Initialization Assigned 10/19/2009

History

#1 Updated by Brad Neuman almost 10 years ago

  • % Done changed from 0 to 30

Still need to deal with orbs, they are complicated because there are multiple init states.

Also, need to figure out a consistent way to deal with funciton like usb_getc which return a char

#2 Updated by Brad Neuman almost 10 years ago

not doing lcd, since we don't have one

#3 Updated by Brad Neuman almost 10 years ago

can't fix:
encoder_get_v

Also, need to get orbs working and then have buzzer / orbs fail if hte other is inited

#4 Updated by Brad Neuman almost 10 years ago

cant do analog8 or analog10 either, need to think about these

#5 Updated by David Schultz almost 10 years ago

Multiple xbee init works if you call terminate at end of use before initing again. Otherwise it will get stuck in an infinite loop waiting for a response that won't come. We should probably make the call return an error if it waits for over a second with no response.

What's the problem with usb_getc?

#6 Updated by David Schultz almost 10 years ago

  • Category set to Library

#7 Updated by Alex Zirbel almost 9 years ago

  • Priority changed from High to Normal

Brad, is this still an issue?

Also available in: Atom PDF