Fix lockup when using I2C external and pkt dump to USART3 enabled.

pull/4/head
CInsights 2018-03-09 15:07:02 +11:00
rodzic b71b9710b1
commit cdcff3d31d
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -124,7 +124,7 @@ const conf_t conf_flash_default = {
},
.rx = {
.thread_conf = {
.active = false
.active = true
},
.radio_conf = {
.pwr = 0x7F,

Wyświetl plik

@ -1318,7 +1318,7 @@ void Si446x_mapCallback(pkt_data_object_t *pkt_buff) {
ax25size_t frame_size = pkt_buff->packet_size;
/* FIXME: This is a quick diagnostic implementation only. */
#if DUMP_PACKET_TO_SERIAL == TRUE
#if DUMP_PACKET_TO_SERIAL == TRUE && ENABLE_EXTERNAL_I2C != TRUE
pktDiagnosticOutput(pkt_buff->handler, pkt_buff);
#endif
if(pktIsBufferValidAX25Frame(pkt_buff)) {
@ -1469,8 +1469,8 @@ int16_t Si446x_getLastTemperature(void) {
#else
TRACE_INFO("SI > Transmitter temperature not available");
#endif
return 0;
}
return 0;
}
return lastTemp;
}