aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/IFS
diff options
context:
space:
mode:
authorShai Frieder <Shai.Frieder@twine-s.com>2020-02-06 09:52:24 +0200
committerShai Frieder <Shai.Frieder@twine-s.com>2020-02-06 09:52:24 +0200
commit063724aa818cc243b10a5c202e28b3cb49e6503f (patch)
treed1df1d4bbae178d8d9e75605267b14db5a3e3392 /Software/Embedded_SW/Embedded/Modules/IFS
parent140d5846915924e04b6c091877113bc55b8eaaf6 (diff)
downloadTango-063724aa818cc243b10a5c202e28b3cb49e6503f.tar.gz
Tango-063724aa818cc243b10a5c202e28b3cb49e6503f.zip
update to ReportWithPackageFilter command
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/IFS')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/IFS/ifs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/IFS/ifs.c b/Software/Embedded_SW/Embedded/Modules/IFS/ifs.c
index 7f99a2a92..a98cc173e 100644
--- a/Software/Embedded_SW/Embedded/Modules/IFS/ifs.c
+++ b/Software/Embedded_SW/Embedded/Modules/IFS/ifs.c
@@ -317,19 +317,19 @@ bool CartridgeValidationResponseFunc(MessageContainer* requestContainer)
// 2. the index is out of rang
if (response == NULL)
{
- REPORT_MSG(WHS_filling," ------------ IFS_filling message from PPC is null!!! ----------------- "); // write to log error
+ ReportWithPackageFilter(WHS_filling,"------------ IFS_filling message from PPC is null!!! -----------------", __FILE__,__LINE__,0, RpMessage, 0, 0);
return ret;
}
if (response->index < NUM_OF_MIDTANKS)
{
IFS_info.Ink.cart_color = response->index; // midtank 1-8
- ReportWithPackageFilter(WasteFilter,"------------ IFS get message response->index is -----------------", __FILE__, __LINE__, response->index, RpMessage, 0, 0);
+ ReportWithPackageFilter(WHS_filling,"------------ IFS get message response->index is -----------------", __FILE__, __LINE__, response->index, RpMessage, 0, 0);
WHS_info.event = IFS_INK_authentication_pass;
}
else
{
- ReportWithPackageFilter(WasteFilter,"------------ IFS get message response->index is out of rang -----------------", __FILE__, __LINE__, response->index, RpMessage, 0, 0);
+ ReportWithPackageFilter(WHS_filling,"------------ IFS get message response->index is out of rang -----------------", __FILE__, __LINE__, response->index, RpMessage, 0, 0);
WHS_info.event = IFS_INK_authentication_fail;
}