avr: more work on MultiFAN module (now works, tested with a single fan).
This commit is contained in:
@@ -86,10 +86,19 @@ AppReportSensors_OnEverySecond_store:
|
||||
breq AppReportSensors_OnEverySecond_sendValue2
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_SGP40
|
||||
#ifdef MODULES_MULTIFAN
|
||||
cpi r16, 32
|
||||
breq AppReportSensors_OnEverySecond_sendValueMF1
|
||||
cpi r16, 33
|
||||
breq AppReportSensors_OnEverySecond_sendValueMF2
|
||||
cpi r16, 34
|
||||
breq AppReportSensors_OnEverySecond_sendValueMF3
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_SGP40
|
||||
cpi r16, 53
|
||||
breq AppReportSensors_OnEverySecond_measureValue4
|
||||
cpi r16, 42
|
||||
cpi r16, 63
|
||||
breq AppReportSensors_OnEverySecond_sendValue4
|
||||
#endif
|
||||
|
||||
@@ -145,6 +154,15 @@ AppReportSensors_OnEverySecond_sendValue3:
|
||||
rjmp Ds18b20_SendTemperature
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_MULTIFAN
|
||||
AppReportSensors_OnEverySecond_sendValueMF1:
|
||||
bigjmp MultiFan_ReportSpeed1
|
||||
AppReportSensors_OnEverySecond_sendValueMF2:
|
||||
bigjmp MultiFan_ReportSpeed2
|
||||
AppReportSensors_OnEverySecond_sendValueMF3:
|
||||
bigjmp MultiFan_ReportSpeed3
|
||||
#endif
|
||||
|
||||
#ifdef MODULES_SGP40
|
||||
AppReportSensors_OnEverySecond_measureValue4:
|
||||
rjmp SGP40_MeasureRawSignal
|
||||
@@ -182,6 +200,7 @@ AppReportSensors_OnEverySecond_sendMotionValue:
|
||||
rjmp appMotionSendValue
|
||||
#endif
|
||||
|
||||
|
||||
; @end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user