Skip to content

Commit

Permalink
I think this should fix it?
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Jan 8, 2025
1 parent 1c43f7c commit 72f0b5f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/science.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import "dart:convert";
import "dart:io";

import "package:burt_network/protobuf.dart";
import "package:protobuf/protobuf.dart" as proto;
import "package:burt_network/generated.dart";

/// A cleaner name for any message generated by Protobuf.
typedef Message = proto.GeneratedMessage;
Expand Down
2 changes: 1 addition & 1 deletion lib/data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// library should import any other library.
library data;

export "package:burt_network/protobuf.dart";
export "package:burt_network/generated.dart";

export "src/data/metrics/arm.dart";
export "src/data/metrics/drive.dart";
Expand Down
2 changes: 1 addition & 1 deletion lib/src/models/view/builders/preset_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ class PresetBuilder extends ValueBuilder<void> {
@override
void get value { /* Use [save] instead */ }

/// Calls [models.views.saveAsPreset] in views.dart
/// Calls `models.views.saveAsPreset` in views.dart
void save() => models.views.saveAsPreset(nameController.text);
}
2 changes: 1 addition & 1 deletion lib/src/services/socket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class DashboardSocket extends BurtSocket {
/// Notifier for when the socket connects or disconnects
final ValueNotifier<bool> connectionStatus = ValueNotifier(false);

/// Number of times to check heart beat per seconds based on [settings.network.connectionTimeout].
/// Number of times to check heart beat per seconds based on `models.settings.network.connectionTimeout`.
double get frequency => models.settings.network.connectionTimeout;

/// Listens for incoming messages on a UDP socket and sends heartbeats to the [device].
Expand Down

0 comments on commit 72f0b5f

Please sign in to comment.