31 for (uint32_t i = 0; i < 2; i++) {
35 log_error(
"Out of memory when creating last spikes buffer");
40 *data +=
sizeof(uint32_t);
void log_error(const char *message,...)
void log_debug(const char *message,...)
spike_t * last_spikes_buffer[2]
Spike accumulation buffers.
uint32_t last_spikes_buffer_size
Size of each sub-array within last_spikes_buffer.
uint32_t n_spikes[2]
Spike buffer counters.
void partner_init(uint8_t **data)
Initialise the partner selection rule.
uint32_t last_time
The time of the most recently-considered spike.
Recently spiked partners selection rule.
uint32_t spike_t
The type of a spike.
void rt_error(uint code,...)