comparison Discovery/Src/tMenuEditHardware.c @ 957:3420e3ba698d Evo_2_23

External sensor commands: Add sensor ID to command: In the previous version a command was send without information regarding the target sensor. To have the possibility in future to e.g. calibrate a specific sensor, the sensor ID is now transmitted together with the command. As example in the new implementation the O2 Sensor selected in the sensor menu will blink to enable sensor identification.
author Ideenmodellierer
date Mon, 06 Jan 2025 20:06:35 +0100
parents c6b858f2e025
children
comparison
equal deleted inserted replaced
956:083afabc6578 957:3420e3ba698d
841 return EXIT_TO_INFO_SENSOR; 841 return EXIT_TO_INFO_SENSOR;
842 } 842 }
843 843
844 uint8_t OnAction_Sensor_Detect(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) 844 uint8_t OnAction_Sensor_Detect(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
845 { 845 {
846 DataEX_setExtInterface_Cmd(EXT_INTERFACE_AUTODETECT); 846 DataEX_setExtInterface_Cmd(EXT_INTERFACE_AUTODETECT, 0);
847 return UNSPECIFIC_RETURN; 847 return UNSPECIFIC_RETURN;
848 } 848 }
849 849
850 void openEdit_Brightness(void) 850 void openEdit_Brightness(void)
851 { 851 {