Skip to content

Commit

Permalink
Pre-tinted SVG icons
Browse files Browse the repository at this point in the history
  • Loading branch information
connornishijima committed Feb 6, 2024
1 parent 0c69eab commit 0c3c9c2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 61 deletions.
1 change: 0 additions & 1 deletion data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@
<script src="js/utilities.js"></script>
<script src="js/render_controls.js"></script>
<script src="js/websockets_connection.js"></script>
<script src="js/tint_icons.js"></script>
<script src="js/sliders.js"></script>
<script src="js/pages.js"></script>
</body>
Expand Down
51 changes: 0 additions & 51 deletions data/js/tint_icons.js

This file was deleted.

2 changes: 1 addition & 1 deletion data/js/websockets_connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function parse_message(message){
console.log("DATA SYNC COMPLETE!");

render_controls();
tint_svg_images();
//tint_svg_images();
set_locked_state(false);
}
else{
Expand Down
2 changes: 1 addition & 1 deletion data/svg/close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion data/svg/info.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion data/svg/menu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion data/svg/microphone.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion data/svg/wand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/EMOTISCOPE_FIRMWARE.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <FastLED.h> // ........... Blasting data to the LEDs
#include <PsychicHttp.h> // ....... Handling the web-app HTTP and WS
#include <HTTPClient.h> // ........ Used to make POST requests to the discovery server
#include <ESPmDNS.h>
#include <ESPmDNS.h> // ........... Used for "emotiscope.local" domain name
#include <Ticker.h> // ............ For timing functions
#include <WiFi.h> // .............. WiFi connection library
#include <driver/i2s.h> // ........ I2S microphone driver
Expand Down Expand Up @@ -76,9 +76,9 @@ void loop_gpu(void *param) {

// EVERYTHING BEGINS HERE ON BOOT ---------------------------------------------
void setup() {
// (system.h) Initialize all peripherals, GPIO and constants.
// (system.h) Initialize all peripherals
init_system();

// Start the second core as a dedicated GPU for the LEDs/color math
(void)xTaskCreatePinnedToCore(loop_gpu, "loop_gpu", 16384, NULL, 0, NULL, 0);
(void)xTaskCreatePinnedToCore(loop_gpu, "loop_gpu", 8192, NULL, 0, NULL, 0);
}

0 comments on commit 0c3c9c2

Please sign in to comment.