diff --git a/conf/modules/infrared_i2c.xml b/conf/modules/infrared_i2c.xml
index 916a7a7b92..a8e3cac8ea 100644
--- a/conf/modules/infrared_i2c.xml
+++ b/conf/modules/infrared_i2c.xml
@@ -10,10 +10,10 @@
-
- ap.srcs += subsystems/sensors/infrared.c
- ap.srcs += subsystems/sensors/infrared_i2c.c
-
+ ap.srcs += subsystems/sensors/infrared.c
+ ap.srcs += subsystems/sensors/infrared_i2c.c
+ sim.srcs += subsystems/sensors/infrared.c
+ sim.srcs += subsystems/sensors/infrared_i2c.c
sim.srcs += $(SRC_ARCH)/sim_ir.c
diff --git a/sw/airborne/subsystems/sensors/infrared.h b/sw/airborne/subsystems/sensors/infrared.h
index 5aa6ee61ae..f49a9b0187 100644
--- a/sw/airborne/subsystems/sensors/infrared.h
+++ b/sw/airborne/subsystems/sensors/infrared.h
@@ -133,7 +133,6 @@ struct Infrared {
extern struct Infrared infrared;
-//TODO Trigger some estimator update
#define UpdateIRValue(_v) { \
infrared.value.ir1 = (IR_IR1_SIGN)*_v.ir1; \
infrared.value.ir2 = (IR_IR2_SIGN)*_v.ir2; \