Compare commits
3 Commits
d4bc537cbd
...
38a286da11
Author | SHA1 | Date | |
---|---|---|---|
38a286da11 | |||
6bd401d9c8 | |||
0ccc65fd10 |
@ -92,7 +92,7 @@ pub fn validate(self: Config, err_writer: anytype) !void {
|
|||||||
rotctl: RotControlConfig = .{
|
rotctl: RotControlConfig = .{
|
||||||
.listen_address = "127.0.0.1",
|
.listen_address = "127.0.0.1",
|
||||||
.listen_port = 4533,
|
.listen_port = 4533,
|
||||||
.autopark = false,
|
.autopark = true,
|
||||||
},
|
},
|
||||||
labjack: LabjackConfig = .{
|
labjack: LabjackConfig = .{
|
||||||
.device = .autodetect,
|
.device = .autodetect,
|
||||||
|
@ -366,12 +366,10 @@ const Controller = struct {
|
|||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
|
||||||
{
|
self.lock.lock();
|
||||||
self.lock.lock();
|
defer self.lock.unlock();
|
||||||
defer self.lock.unlock();
|
|
||||||
|
|
||||||
self.setPosition(self.feedback_buffer.get());
|
self.setPosition(self.feedback_buffer.get());
|
||||||
}
|
|
||||||
|
|
||||||
switch (self.current_state) {
|
switch (self.current_state) {
|
||||||
.initializing, .idle => {
|
.initializing, .idle => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user