git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20100416
[aversive.git]
/
projects
/
microb2010
/
mainboard
/
strat.c
diff --git
a/projects/microb2010/mainboard/strat.c
b/projects/microb2010/mainboard/strat.c
index
97d159c
..
1a525e5
100644
(file)
--- a/
projects/microb2010/mainboard/strat.c
+++ b/
projects/microb2010/mainboard/strat.c
@@
-58,6
+58,7
@@
#include "main.h"
#include "strat.h"
#include "strat_base.h"
#include "main.h"
#include "strat.h"
#include "strat_base.h"
+#include "strat_corn.h"
#include "strat_utils.h"
#include "sensor.h"
#include "actuator.h"
#include "strat_utils.h"
#include "sensor.h"
#include "actuator.h"
@@
-138,12
+139,14
@@
void strat_dump_infos(const char *caller)
* here */
void strat_reset_infos(void)
{
* here */
void strat_reset_infos(void)
{
+ init_corn_table(-1, -1);
}
/* call it just before launching the strat */
void strat_init(void)
{
/* XXX init rollers, .. */
}
/* call it just before launching the strat */
void strat_init(void)
{
/* XXX init rollers, .. */
+
strat_reset_infos();
/* we consider that the color is correctly set */
strat_reset_infos();
/* we consider that the color is correctly set */