Skip to content

Commit

Permalink
disable Firefly Tx bit in ZynqmonTask (#218)
Browse files Browse the repository at this point in the history
* disable Firefly Tx bit in ZynqmonTask
Putting it here ignores power state so it should be done differently.
  • Loading branch information
pwittich authored Apr 19, 2024
1 parent 0bc9223 commit 8405016
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/cm_mcu/ZynqMonTask.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
*
* Created on: Jan 3, 2020
* Author: wittich
*
* This task sends data to the Zynq for monitoring purposes.
* It should not read out any data, but only send data that is
* already available in the system.
*/
// includes for types
#include <stdint.h>
Expand Down Expand Up @@ -300,6 +304,8 @@ void zm_set_firefly_temps(struct zynqmon_data_t data[], int start)
#ifdef REV2
uint16_t getFFtXdisenablebit(const uint8_t i)
{
return 56; // FIXME
#ifdef NOTDEF
if (i > NFIREFLIES_F1 + NFIREFLIES_F2) {
log_warn(LOG_SERVICE, "caught %d > total fireflies %d\r\n", i, NFIREFLIES);
return 56;
Expand All @@ -325,6 +331,7 @@ uint16_t getFFtXdisenablebit(const uint8_t i)
return 56;
else
return val;
#endif // NOTDEF
}
// updated once per loop.
// For each firefly device, send
Expand Down

0 comments on commit 8405016

Please sign in to comment.