eth_worker_i.h 359 B

12345678910111213141516171819
  1. #pragma once
  2. #include <furi.h>
  3. #include "eth_worker.h"
  4. struct EthWorker {
  5. FuriThread* thread;
  6. void* context;
  7. EthWorkerState state;
  8. EthWorkerSubState sub_state;
  9. char state_string[64];
  10. EthWorkerCallback callback;
  11. };
  12. void eth_worker_change_state(EthWorker* eth_worker, EthWorkerState state);
  13. int32_t eth_worker_task(void* context);