Skip to content

Commit

Permalink
fix: Correct SerialPort object name
Browse files Browse the repository at this point in the history
  • Loading branch information
joelmiles committed May 29, 2024
1 parent a5765f6 commit 329fa7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/serial/serialRelay.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const refreshPortList = () => {
'Silicon Laboratories',
];

Serialport.list().then((list) => {
SerialPort.list().then((list) => {
Object.keys(list).forEach((key) => {
const portObj = list[key];
const { path: comName, manufacturer } = portObj;
Expand Down

0 comments on commit 329fa7f

Please sign in to comment.