Skip to content
  • Clayton Craft's avatar
    stm_agps: use custom implementation of readline · faf33713
    Clayton Craft authored
    Using python's readline here caused ~20-30% cpu utilization (on a librem
    5), this uses the same readline from stm_agps_serial but with a slightly
    longer delay when filling the buffer. This seems to be the sweet spot
    between having too long of a delay sending data to clients, and low cpu
    usage (~1-2%, on the librem 5)
    faf33713