removed spi & lora houskeeping functions
This commit is contained in:
parent
5dcb3b315e
commit
bf70f2f9f2
@ -37,7 +37,6 @@ void switch_lora(uint8_t sf, uint8_t tx);
|
|||||||
void lora_send(osjob_t *job);
|
void lora_send(osjob_t *job);
|
||||||
void lora_enqueuedata(MessageBuffer_t *message, sendprio_t prio);
|
void lora_enqueuedata(MessageBuffer_t *message, sendprio_t prio);
|
||||||
void lora_queuereset(void);
|
void lora_queuereset(void);
|
||||||
void lora_housekeeping(void);
|
|
||||||
#if (TIME_SYNC_LORAWAN)
|
#if (TIME_SYNC_LORAWAN)
|
||||||
void user_request_network_time_callback(void *pVoidUserUTCTime,
|
void user_request_network_time_callback(void *pVoidUserUTCTime,
|
||||||
int flagSuccess);
|
int flagSuccess);
|
||||||
|
@ -31,6 +31,4 @@ esp_err_t spi_init();
|
|||||||
void spi_enqueuedata(MessageBuffer_t *message, sendprio_t prio);
|
void spi_enqueuedata(MessageBuffer_t *message, sendprio_t prio);
|
||||||
void spi_queuereset();
|
void spi_queuereset();
|
||||||
|
|
||||||
void spi_housekeeping();
|
|
||||||
|
|
||||||
#endif // _SPISLAVE_H
|
#endif // _SPISLAVE_H
|
||||||
|
@ -23,13 +23,6 @@ void doHousekeeping() {
|
|||||||
if (cfg.runmode == 1)
|
if (cfg.runmode == 1)
|
||||||
do_reset();
|
do_reset();
|
||||||
|
|
||||||
#ifdef HAS_SPI
|
|
||||||
spi_housekeeping();
|
|
||||||
#endif
|
|
||||||
#if (HAS_LORA)
|
|
||||||
lora_housekeeping();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// task storage debugging //
|
// task storage debugging //
|
||||||
ESP_LOGD(TAG, "IRQhandler %d bytes left | Taskstate = %d",
|
ESP_LOGD(TAG, "IRQhandler %d bytes left | Taskstate = %d",
|
||||||
uxTaskGetStackHighWaterMark(irqHandlerTask),
|
uxTaskGetStackHighWaterMark(irqHandlerTask),
|
||||||
@ -42,6 +35,11 @@ void doHousekeeping() {
|
|||||||
ESP_LOGD(TAG, "Gpsloop %d bytes left | Taskstate = %d",
|
ESP_LOGD(TAG, "Gpsloop %d bytes left | Taskstate = %d",
|
||||||
uxTaskGetStackHighWaterMark(GpsTask), eTaskGetState(GpsTask));
|
uxTaskGetStackHighWaterMark(GpsTask), eTaskGetState(GpsTask));
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAS_SPI
|
||||||
|
ESP_LOGD(TAG, "spiloop %d bytes left | Taskstate = %d",
|
||||||
|
uxTaskGetStackHighWaterMark(spiTask), eTaskGetState(spiTask));
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (defined HAS_DCF77 || defined HAS_IF482)
|
#if (defined HAS_DCF77 || defined HAS_IF482)
|
||||||
ESP_LOGD(TAG, "Clockloop %d bytes left | Taskstate = %d",
|
ESP_LOGD(TAG, "Clockloop %d bytes left | Taskstate = %d",
|
||||||
uxTaskGetStackHighWaterMark(ClockTask), eTaskGetState(ClockTask));
|
uxTaskGetStackHighWaterMark(ClockTask), eTaskGetState(ClockTask));
|
||||||
|
@ -170,8 +170,4 @@ void spi_enqueuedata(MessageBuffer_t *message, sendprio_t prio) {
|
|||||||
|
|
||||||
void spi_queuereset(void) { xQueueReset(SPISendQueue); }
|
void spi_queuereset(void) { xQueueReset(SPISendQueue); }
|
||||||
|
|
||||||
void spi_housekeeping(void) {
|
|
||||||
ESP_LOGD(TAG, "spiloop %d bytes left", uxTaskGetStackHighWaterMark(spiTask));
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // HAS_SPI
|
#endif // HAS_SPI
|
Loading…
Reference in New Issue
Block a user