mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
refact: refactored can dbc logic
This commit is contained in:
parent
31d93e7c39
commit
840f819484
6 changed files with 214 additions and 108 deletions
6
modules/can/can_dbc_load.go
Normal file
6
modules/can/can_dbc_load.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package can
|
||||
|
||||
func (mod *CANModule) dbcLoad(name string) error {
|
||||
// load as file
|
||||
return mod.dbc.LoadFile(mod, name)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue