Fix linter and compiler

pull/1148/head
Willem Melching 2020-03-20 16:28:14 -07:00
parent c818f1df37
commit 45410ee8a8
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python3
import os
import argparse
import json

View File

@ -48,7 +48,7 @@ int main() {
capnp::MallocMessageBuilder msg;
cereal::Event::Builder event = msg.initRoot<cereal::Event>();
event.setLogMonoTime(nanos_since_boot());
auto androidEntry = event.initAndroidLogEntry();
auto androidEntry = event.initAndroidLog();
androidEntry.setId(log_msg.id());
androidEntry.setTs(entry.tv_sec * 1000000000ULL + entry.tv_nsec);
androidEntry.setPriority(entry.priority);