Skip to content

Commit 3a6eef5

Browse files
committed
Run mix format
1 parent 6bc562c commit 3a6eef5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/sgp40/voc_index.ex

+3-3
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ defmodule SGP40.VocIndex do
153153

154154
defp receive_from_port(port) do
155155
receive do
156-
{^port, {:data, {_, 'OK: ' ++ response}}} ->
156+
{^port, {:data, {_, ~c"OK: " ++ response}}} ->
157157
{:ok, to_string(response)}
158158

159-
{^port, {:data, {_, 'OK'}}} ->
159+
{^port, {:data, {_, ~c"OK"}}} ->
160160
:ok
161161

162-
{^port, {:data, {_, 'ERR: ' ++ response}}} ->
162+
{^port, {:data, {_, ~c"ERR: " ++ response}}} ->
163163
{:error, to_string(response)}
164164

165165
{^port, {:exit_status, exit_status}} ->

0 commit comments

Comments
 (0)