firmware/src/error.h
2020-12-30 12:34:22 +08:00

9 lines
260 B
C

#pragma once
#include <Arduino.h>
#include "mesh/generated/mesh.pb.h" // For CriticalErrorCode
/// Record an error that should be reported via analytics
void recordCriticalError(CriticalErrorCode code = CriticalErrorCode_Unspecified, uint32_t address = 0);