Mercurial > public > ostc4
comparison Small_CPU/Src/externalInterface.c @ 559:84a4e1200726
Check if HW evaluation was performed:
Devicedata is only requested once at startup and then every 10 minutes. To make sure that HW information related to compass and ADC are forwarded, two indicators have been added which may delay the respond by one second.
author | Ideenmodellierer |
---|---|
date | Sun, 15 Nov 2020 19:52:03 +0100 |
parents | 3328189786e7 |
children | 011d8f9f5ddb |
comparison
equal
deleted
inserted
replaced
558:66aef216828b | 559:84a4e1200726 |
---|---|
62 if(externalInterface_StartConversion(activeChannel) == HAL_OK) | 62 if(externalInterface_StartConversion(activeChannel) == HAL_OK) |
63 { | 63 { |
64 externalInterfacePresent = 1; | 64 externalInterfacePresent = 1; |
65 global.deviceDataSendToMaster.hw_Info.extADC = 1; | 65 global.deviceDataSendToMaster.hw_Info.extADC = 1; |
66 } | 66 } |
67 global.deviceDataSendToMaster.hw_Info.checkADC = 1; | |
67 } | 68 } |
68 | 69 |
69 | 70 |
70 uint8_t externalInterface_StartConversion(uint8_t channel) | 71 uint8_t externalInterface_StartConversion(uint8_t channel) |
71 { | 72 { |