eth_worker_i.h 341 B

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