Project

General

Profile

Revision 442

Added by Chris Mar about 16 years ago

wrote wrapper functions for new BOM code. also added compiler warning (for deprecated functions) to bom.h. it will show up whenever something that includes bom.h is compiled. have yet to merge new BOM code.

View differences:

bom.h
57 57
/** @brief Refresh bom_val[] with new values from analog8.  analog_init and bom_init must be called for this to work. **/
58 58
void bom_refresh(int bit_field);
59 59
/** @brief Gets the bom reading from bom_val[which].  Call bom_refresh beforehand to read new bom values. **/
60
int bom_get(char which);
60
int bom_get(int which);
61 61
/** @brief Compares all the values in bom_val[] and returns the index to the highest value element. **/
62 62
int bom_get_max(void);
63 63
/** @brief Turns on the selected bom leds. Only works with BOM_ALL if using the original bom. **/
......
65 65
/** @brief Turns off the selected bom leds. Only works with BOM_ALL if using the original bom. **/
66 66
void bom_leds_off(int bit_field);
67 67

  
68
#warning "get_max_bom(), bom_on(), and bom_off() are deprecated. See bom.h"
68 69
/** @brief (DEPRECATED) Gets and compares all bom values.  Returns the index to the highest value element. **/
69 70
int get_max_bom(void);
70 71
/** @brief (DEPRECATED) Turns on all bom leds. **/

Also available in: Unified diff