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