removed spi & lora houskeeping functions

This commit is contained in:
Verkehrsrot 2019-08-03 11:35:16 +02:00
parent 5dcb3b315e
commit bf70f2f9f2
4 changed files with 5 additions and 14 deletions

View File

@ -37,7 +37,6 @@ void switch_lora(uint8_t sf, uint8_t tx);
void lora_send(osjob_t *job);
void lora_enqueuedata(MessageBuffer_t *message, sendprio_t prio);
void lora_queuereset(void);
void lora_housekeeping(void);
#if (TIME_SYNC_LORAWAN)
void user_request_network_time_callback(void *pVoidUserUTCTime,
int flagSuccess);

View File

@ -31,6 +31,4 @@ esp_err_t spi_init();
void spi_enqueuedata(MessageBuffer_t *message, sendprio_t prio);
void spi_queuereset();
void spi_housekeeping();
#endif // _SPISLAVE_H

View File

@ -23,13 +23,6 @@ void doHousekeeping() {
if (cfg.runmode == 1)
do_reset();
#ifdef HAS_SPI
spi_housekeeping();
#endif
#if (HAS_LORA)
lora_housekeeping();
#endif
// task storage debugging //
ESP_LOGD(TAG, "IRQhandler %d bytes left | Taskstate = %d",
uxTaskGetStackHighWaterMark(irqHandlerTask),
@ -42,6 +35,11 @@ void doHousekeeping() {
ESP_LOGD(TAG, "Gpsloop %d bytes left | Taskstate = %d",
uxTaskGetStackHighWaterMark(GpsTask), eTaskGetState(GpsTask));
#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)
ESP_LOGD(TAG, "Clockloop %d bytes left | Taskstate = %d",
uxTaskGetStackHighWaterMark(ClockTask), eTaskGetState(ClockTask));

View File

@ -170,8 +170,4 @@ void spi_enqueuedata(MessageBuffer_t *message, sendprio_t prio) {
void spi_queuereset(void) { xQueueReset(SPISendQueue); }
void spi_housekeeping(void) {
ESP_LOGD(TAG, "spiloop %d bytes left", uxTaskGetStackHighWaterMark(spiTask));
}
#endif // HAS_SPI